Issue 25426: Deprecate the regex_compile benchmark (original) (raw)
Issue25426
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/69612
classification
Title: | Deprecate the regex_compile benchmark | |
---|---|---|
Type: | Stage: | resolved |
Components: | Benchmarks | Versions: |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | brett.cannon | Nosy List: | brett.cannon, pitrou, python-dev, serhiy.storchaka |
Priority: | normal | Keywords: |
Created on 2015-10-16 19:28 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (5) | ||
---|---|---|
msg253091 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2015-10-16 19:28 |
Turns out it relies on internal APIs that either don't exist on other interpreters (e.g., IronPython), or they change which leads to breakage of the benchmark (e.g., already changed for Python 3.2 and 3.3). Probably best to retire it rather than continuing to try and prop it up. | ||
msg253094 - (view) | Author: Antoine Pitrou (pitrou) * ![]() |
Date: 2015-10-16 20:05 |
That sounds reasonable to me. It's a pity there isn't an official way to compile without caching. | ||
msg253100 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2015-10-16 21:29 |
The public API for cache clearing is re.purge(). > It's a pity there isn't an official way to compile without caching. See . | ||
msg253759 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2015-10-30 21:25 |
New changeset 0da7b44c2ea3 by Brett Cannon in branch 'default': Use re.purge() to clear the re cache. https://hg.python.org/benchmarks/rev/0da7b44c2ea3 | ||
msg253760 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2015-10-30 21:25 |
Thanks for the pointer about re.purge(), Serhiy! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:22 | admin | set | github: 69612 |
2015-10-30 21:25:51 | brett.cannon | set | status: open -> closedresolution: fixedmessages: + stage: resolved |
2015-10-30 21:25:26 | python-dev | set | nosy: + python-devmessages: + |
2015-10-16 22:01:02 | brett.cannon | set | assignee: brett.cannon |
2015-10-16 21:29:58 | serhiy.storchaka | set | nosy: + serhiy.storchakamessages: + |
2015-10-16 20:05:58 | pitrou | set | messages: + |
2015-10-16 19:28:26 | brett.cannon | create |