[Solved] which code is consuming less power?
To measure the actual power consumption you should use add an electricity meter to your power supply (remove the batteries if using a notebook). Note that you will measure the power consumption of the entire system, so make sure to avoid nuisance parameters (any other system activity, i.e. anti-virus updates, graphical desktop environment, indexing services, … Read more