[Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
Victor Stinner
vstinner at redhat.com
Wed Jul 11 04:42:10 EDT 2018
More information about the Python-Dev mailing list
Wed Jul 11 04:42:10 EDT 2018
- Previous message (by thread): [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
- Next message (by thread): [Python-Dev] PEP 572: Assignment Expressions -- intention to accept, near-final draft
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 > 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
- Previous message (by thread): [Python-Dev] Micro-benchmarks for function calls (PEP 576/579/580)
- Next message (by thread): [Python-Dev] PEP 572: Assignment Expressions -- intention to accept, near-final draft
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list