[Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
vstinner at redhat.com
Wed Jul 11 04:42:10 EDT 2018
2018-07-11 9:19 GMT+02:00 Andrea Griffini <agriff at tin.it>:
> May be is something obvious but I find myself forgetting often about
> the fact that most modern CPUs can change speed (and energy consumption)
> depending on a moving average of CPU load.
> If you don't disable this "green" feature and the benchmarks are quick then
> result can have huge variations depending on exactly when and if the CPU
> switches to fast mode.
If you use "sudo python3 -m perf system tune": Turbo Boost is disabled
and the CPU frequency is fixed.
More into at:
More information about the Python-Dev