Re: [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)

2018年7月11日 01:45:01 -0700

2018年07月11日 9:19 GMT+02:00 Andrea Griffini <[email protected]>:
> 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
> the
> 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:
http://perf.readthedocs.io/en/latest/system.html
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to