[Python-Dev] re performance

Victor Stinner victor.stinner at gmail.com
Wed Feb 1 15:58:07 EST 2017

2017-02-01 20:42 GMT+01:00 Lukasz Langa <lukasz at langa.pl>:
> However, this benchmark is incomplete in the sense that it only checks the
> compatibility mode of `regex`, whereas it's the new mode that lends the
> biggest performance gains. So, providing checks for the other engine would
> show us the full picture.

Would you mind to write a pull request for performance to add a
command line option to test "re" (stdlib) or "regex" (PyPI, in the new
mode)? Or maybe even regex and regex_compatibility_mode :-)


Example of benchmark with cmdline options:


More information about the Python-Dev mailing list