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 barry, ethan.furman, gvanrossum, methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-10-04.10:06:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Nice speedup!

I ran a benchmark on PR 3862:

 1002  ./python ~/prog/python/performance/performance/benchmarks/ --inherit=PYTHONPATH -v -o patch.json
 1003  git co master
 1004  make
 1005  ./python ~/prog/python/performance/performance/benchmarks/ --inherit=PYTHONPATH -v -o ref.json
 1007  ./python -m perf compare_to ref.json patch.json 

Mean +- std dev: [ref] 396 ms +- 16 ms -> [patch] 347 ms +- 8 ms: 1.14x faster (-12%)

It's the following benchmark on *uncached* regular expressions. So it really measures re.compile() performance, not the cache.
Date User Action Args
2017-10-04 10:06:26vstinnersetrecipients: + vstinner, gvanrossum, barry, rhettinger, methane, ethan.furman, serhiy.storchaka
2017-10-04 10:06:26vstinnersetmessageid: <>
2017-10-04 10:06:26vstinnerlinkissue31671 messages
2017-10-04 10:06:26vstinnercreate