Repository navigation
Description
requirements.in says a dependency upgrade should bump the major version, since results from different majors aren't comparable. I propose we make the next release 2.0.0 rather than 1.15.0 and use it to land everything that changes results in one go.
Also, main is already not comparable with 1.14.0, due to:
- Swap benchmark names for argparse benchmarks #470 swapped the names of the two argparse benchmarks, so comparing against
1.14.0 results silently compares different workloads. - Add support for Python 3.15 and drop EOL 3.10 #502 bumped genshi 0.7.7 → 0.7.12 and tornado 6.5.2 → 6.6.
btree,btree_gc_only(Add the 'btree' benchmark. #381) andstdlib_startup(Benchmark importing all standard library modules #338) were added to the
default set, which shifts the overall geometric mean.
As noted by @hugovk, old pins don't reflect what people run today, and they keep breaking on new Pythons (#518, #520, greenlet in #490 are all 3.16 failures). I suggest we do the following bumps:
| Benchmark | Pinned | Latest |
|---|---|---|
django_template |
django 3.2.4 (EOL), asgiref 3.3.4, sqlparse 0.4.1 | 6.1.3 (5.2 LTS for 3.11) |
sqlalchemy_* |
sqlalchemy 1.4.19 | 2.1.9 |
dulwich_log |
dulwich 0.20.23, urllib3 1.26.5 | 1.2.21, 2.8.0 |
sympy |
sympy 1.8, mpmath 1.2.1 | 1.14.0, 1.4.1 |
mako |
mako 1.1.4, markupsafe 2.0.1 | 1.4.3, 3.0.4 |
docutils |
0.18.1 | 0.23 |
asyncio_websockets |
websockets 11.0.3 | 17.4 |
sqlglot_v2* |
sqlglot 4.6.0 | 30.33.0 |
xdsl |
0.54.3 (pyproject.toml says ==0.46.0) |
0.76.0 |
dask |
2024.10.0 | 2026.8.0 |
sphinx |
7.3.7 | 9.2.0 |
coverage |
7.3.2 | 7.17.3 |
| core | pyperf 2.10.0, psutil 7.0.0 | 2.11.0, 7.2.2 |
Further more, there is some additional result-changing work that is waiting on a major
- Remove
unpack_sequence(unpack_sequence benchmark too fast on modern computers #450, Let pyperformance decide unpack sequence loops #451). It measures nanoseconds and is mostly noise, as generally agreed on Discord it's time to remove it. asyncio_websocketsspends ~87% of its time in zlib (asyncio_websockets tests the implementation ofzlib, not of Python #460). We should disable compression while porting to the current websockets API.- Update sqlalchemy (update sqlalchemy to 2.0.54 #490, with Use a new session per loop in the
sqlalchemy_declarativebenchmark #472). - Enable the decimal benchmarks (Enable decimal benchmarks #473, Enable decimal benchmarks in the suite (MANIFEST) #491). Similarly with
yamlandbarnes_hutare in the same state, as they are in the repository, announced in the changelog, but missing fromMANIFEST. - Size the fastapi connection pool to the concurrency (Fix
bm_fastapibenchmark failing withhttpx.PoolTimeoutunder load #509).
I propose we land the items above and refresh all pins. Then, we can release as 2.0.0. This will require rerunning on continuos benchmarking systems, however for speed.python.org at least, this was already planned for the two active machines.
Activity
sergey-miryanov commentedon Nov 20, 2026
Would you like to merge #438 before the release?
cc @nascheme
StanFromIreland commentedon Nov 20, 2026
CC @mattip anything you'd like to do?
mattip commentedon Nov 20, 2026
#472 is still open