There are Tools
that look quite unused:
- cpython/Tools/iobench at main · python/cpython · GitHub
- cpython/Tools/stringbench at main · python/cpython · GitHub original issue: Issue 13165: Integrate stringbench in the Tools directory - Python tracker
- cpython/ccbench.py at main · python/cpython · GitHub
They still claim to support python2 and haven’t been touched for over a decade (except some minor global refactorings like https://github.com/python/cpython/commit/8f943ca25732d548cf9f0b0393ba8d582fb93e29)
So, the question is: do we still need them? Aren’t these cases covered by GitHub - python/pyperformance: Python Performance Benchmark Suite ? Are they required for faster-cpython
project?
I see several ways forward:
- Do nothing, they are good as-is
- Modernize them to be fully useful inside
Tools/
: add new feaftures to the test (like newstr
methods), improve their docs, maybe mention them indevguide
- Move them to
pyperformance
suite if needed and delete them fromTools/
- Just delete them - they are outdated (I doubt that)
CC @pitrou @vstinner @storchaka who worked on them initially.