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 ethan.furman, gvanrossum, ned.deily, python-dev, serhiy.storchaka, terry.reedy, vinay.sajip, vstinner, wolma
Date 2016-11-08.21:40:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478641208.55.0.326238722365.issue28637@psf.upfronthosting.co.za>
In-reply-to
Content
Guido: "So what does that benchmark measure? For me, python 3.6 startup is 44 ms and python 2.7 startup is 78 ms (real time; user time is proportionally less)."

It measures something like "time python -c pass".

The performance module creates a virtual environment to run benchmarks to get reproductible timings. If you benchmark the Python startup time using your system Python, the timing depends on the number of installed .pth files.

The code of python_startup benchmark:
https://github.com/python/performance/blob/master/performance/benchmarks/bm_python_startup.py

Note: I didn't write the benchmark, it comes from the old benchmark suite.
History
Date User Action Args
2016-11-08 21:40:08vstinnersetrecipients: + vstinner, gvanrossum, terry.reedy, vinay.sajip, ned.deily, ethan.furman, python-dev, serhiy.storchaka, wolma
2016-11-08 21:40:08vstinnersetmessageid: <1478641208.55.0.326238722365.issue28637@psf.upfronthosting.co.za>
2016-11-08 21:40:08vstinnerlinkissue28637 messages
2016-11-08 21:40:08vstinnercreate