Author vstinner
Recipients ethan.furman, gvanrossum, ned.deily, python-dev, vstinner
Date 2016-11-08.01:18:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478567894.55.0.739658487625.issue28637@psf.upfronthosting.co.za>
In-reply-to
Content
Hum strange, the changeset d903a243c281 (the revert) optimized regex_compile: 480 ms (rev 573bc1f9900e) => 403 ms (rev cf7711887b4a).

But it didn't restore python_startup performance: 26.ms (rev 573bc1f9900e) => 24.6 ms (rev cf7711887b4a).

Another change made re import slower: revision 88110cfbf4dc of issue #28193. If I also revert this change locally, python_startup performance is restored to 19.6 ms.

By the way, regex_compile performance is the same with and without the revision 88110cfbf4dc, but the benchmark purges the re cache at each iteration of the benchmark.
History
Date User Action Args
2016-11-08 01:18:14vstinnersetrecipients: + vstinner, gvanrossum, ned.deily, ethan.furman, python-dev
2016-11-08 01:18:14vstinnersetmessageid: <1478567894.55.0.739658487625.issue28637@psf.upfronthosting.co.za>
2016-11-08 01:18:14vstinnerlinkissue28637 messages
2016-11-08 01:18:13vstinnercreate