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 Thomas.Waldmann, benjamin.peterson, doko, lemburg, ned.deily, njs, serhiy.storchaka, vstinner
Date 2018-12-05.14:23:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544019785.57.0.788709270274.issue26544@psf.upfronthosting.co.za>
In-reply-to
Content
> bpo-26544: Make platform.libc_ver() less slow (GH-10868)
> https://github.com/python/cpython/commit/8687bd86e6f138ef0699a1e9f3f9555765949b51

"Coarse benchmark on Fedora 29: 1.6 sec => 0.1 sec."

Oops, my benchmark in the commit message was wrong, it included the startup time. Correct benchmark says 44x faster, it's way better!

Python 2.7: [old_py2] 1.51 sec +- 0.03 sec -> [if_in] 34.6 ms +- 0.4 ms: 43.61x faster (-98%)
History
Date User Action Args
2018-12-05 14:23:06vstinnersetrecipients: + vstinner, lemburg, doko, benjamin.peterson, ned.deily, njs, serhiy.storchaka, Thomas.Waldmann
2018-12-05 14:23:05vstinnersetmessageid: <1544019785.57.0.788709270274.issue26544@psf.upfronthosting.co.za>
2018-12-05 14:23:05vstinnerlinkissue26544 messages
2018-12-05 14:23:05vstinnercreate