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 gvanrossum, levkivskyi, serhiy.storchaka, vstinner, xgdomingo
Date 2017-12-15.00:12:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513296749.86.0.213398074469.issue32226@psf.upfronthosting.co.za>
In-reply-to
Content
It is very to get stable benchmarks with timings shorter than 1 ms, and even harder for timings shorter than 1 us.

I wrote documentation to implement how to get more stable results:
http://perf.readthedocs.io/en/latest/run_benchmark.html#how-to-get-reproductible-benchmark-results

On Linux, using CPU isolation helps a lot, and perf uses automatically isolated CPUs.
History
Date User Action Args
2017-12-15 00:12:29vstinnersetrecipients: + vstinner, gvanrossum, serhiy.storchaka, levkivskyi, xgdomingo
2017-12-15 00:12:29vstinnersetmessageid: <1513296749.86.0.213398074469.issue32226@psf.upfronthosting.co.za>
2017-12-15 00:12:29vstinnerlinkissue32226 messages
2017-12-15 00:12:29vstinnercreate