Message280271
| 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. |
|