Christos Lamprakos
Christos Lamprakos
Python is popular, even on resource-constrained devices. Energy is important. A nice-to-have feature would be a `pyperf` option that, if enabled, measures energy consumption instead of execution time. The only...
This PR introduces a new, `--track-energy` option for reporting energy consumption measurements instead of execution time, memory etc. ***ATTENTION:*** `--track-energy` needs [changes in pyperf](https://github.com/psf/pyperf/pull/125) in order to work, since `pyperf`...
After a clean install of `pyperformance`, run the below command: ```bash HAHA=1 pyperformance run -f --debug-single-value --inherit-environ HAHA -b 2to3 ``` The output received is: ```bash [...] [1/1] 2to3... INFO:root:Running...