This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, florin.papa, pitrou, serhiy.storchaka, vstinner, yselivanov, zbyrne
Date 2016-02-04.08:39:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> With patch:
> python performance/ -n 10 --timer perf_counter

Oh. There is a bit of confusion here. You must *not* run directly scripts. The calibration is done in

Try for example:
python python2 python3 -b json_dump_v2

You must see something like:
Calibrating => num_runs=10, num_loops=16 (0.50 sec < 0.55 sec)

I should maybe share the calibration code to also compute the number of iterations when a script is run directly? But the risk is that someone compares two runs of using two python binaries, and seeing different results just because the number of calibrated loops is different...
Date User Action Args
2016-02-04 08:39:51vstinnersetrecipients: + vstinner, brett.cannon, pitrou, serhiy.storchaka, yselivanov, zbyrne, florin.papa
2016-02-04 08:39:51vstinnersetmessageid: <>
2016-02-04 08:39:51vstinnerlinkissue26275 messages
2016-02-04 08:39:51vstinnercreate