Skip to content

Latest commit

 

History

History
214 lines (192 loc) · 24.6 KB

bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5-vs-3.10.4.md

File metadata and controls

214 lines (192 loc) · 24.6 KB

Results vs. 3.10.4

  • fork: python
  • ref: v3.13.0
  • machine: linux-x86_64
  • commit hash: 60403a5
  • commit date: 2024-10-07
  • overall geometric mean: 1.28x faster
  • HPT reliability: 100.00%
  • HPT 99th percentile: 1.21x faster
  • Memory change: 1.12x

Benchmarks with tag 'apps':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
2to3 350 ms 291 ms: 1.20x faster
chameleon 9.44 ms 7.42 ms: 1.27x faster
docutils 3.41 sec 2.81 sec: 1.21x faster
html5lib 94.6 ms 71.9 ms: 1.32x faster
tornado_http 157 ms 120 ms: 1.31x faster
Geometric mean (ref) 1.26x faster

Benchmarks with tag 'asyncio':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
async_tree_io 1.60 sec 847 ms: 1.89x faster
async_tree_none 692 ms 372 ms: 1.86x faster
async_tree_memoization 819 ms 452 ms: 1.81x faster
async_tree_cpu_io_mixed 936 ms 600 ms: 1.56x faster
Geometric mean (ref) 1.78x faster

Benchmarks with tag 'math':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
nbody 134 ms 88.0 ms: 1.52x faster
float 111 ms 81.9 ms: 1.36x faster
pidigits 271 ms 253 ms: 1.07x faster
Geometric mean (ref) 1.30x faster

Benchmarks with tag 'regex':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
regex_compile 190 ms 144 ms: 1.32x faster
regex_dna 261 ms 244 ms: 1.07x faster
regex_v8 27.2 ms 26.2 ms: 1.04x faster
regex_effbot 3.09 ms 3.37 ms: 1.09x slower
Geometric mean (ref) 1.08x faster

Benchmarks with tag 'serialize':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
unpickle_pure_python 312 us 214 us: 1.46x faster
pickle_pure_python 455 us 318 us: 1.43x faster
json_dumps 14.5 ms 11.0 ms: 1.33x faster
json_loads 30.3 us 24.0 us: 1.26x faster
xml_etree_process 75.9 ms 60.9 ms: 1.25x faster
tomli_loads 2.92 sec 2.41 sec: 1.21x faster
xml_etree_parse 160 ms 145 ms: 1.11x faster
xml_etree_iterparse 110 ms 100 ms: 1.10x faster
xml_etree_generate 92.3 ms 85.3 ms: 1.08x faster
pickle 9.89 us 10.5 us: 1.07x slower
pickle_dict 29.5 us 32.1 us: 1.09x slower
pickle_list 4.12 us 4.59 us: 1.11x slower
unpickle 13.5 us 15.1 us: 1.12x slower
Geometric mean (ref) 1.12x faster

Benchmark hidden because not significant (1): unpickle_list

Benchmarks with tag 'startup':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
python_startup 11.5 ms 13.3 ms: 1.16x slower
python_startup_no_site 7.33 ms 8.94 ms: 1.22x slower
Geometric mean (ref) 1.19x slower

Benchmarks with tag 'template':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
mako 14.7 ms 10.4 ms: 1.41x faster
django_template 50.2 ms 38.9 ms: 1.29x faster
genshi_text 31.4 ms 26.6 ms: 1.18x faster
genshi_xml 63.3 ms 57.3 ms: 1.10x faster
Geometric mean (ref) 1.24x faster

All benchmarks:

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5
typing_runtime_protocols 537 us 174 us: 3.08x faster
deltablue 7.50 ms 3.41 ms: 2.20x faster
asyncio_tcp 779 ms 380 ms: 2.05x faster
asyncio_tcp_ssl 3.10 sec 1.58 sec: 1.96x faster
async_tree_io 1.60 sec 847 ms: 1.89x faster
async_tree_none 692 ms 372 ms: 1.86x faster
async_tree_memoization 819 ms 452 ms: 1.81x faster
chaos 109 ms 61.7 ms: 1.76x faster
logging_silent 167 ns 97.7 ns: 1.71x faster
generators 57.3 ms 33.5 ms: 1.71x faster
scimark_lu 167 ms 97.8 ms: 1.71x faster
raytrace 489 ms 289 ms: 1.69x faster
scimark_monte_carlo 107 ms 64.9 ms: 1.65x faster
crypto_pyaes 119 ms 72.8 ms: 1.64x faster
pylint 566 ms 346 ms: 1.63x faster
go 262 ms 160 ms: 1.63x faster
sqlglot_parse 2.24 ms 1.38 ms: 1.62x faster
async_tree_cpu_io_mixed 936 ms 600 ms: 1.56x faster
comprehensions 26.7 us 17.3 us: 1.55x faster
nbody 134 ms 88.0 ms: 1.52x faster
richards_super 90.6 ms 59.8 ms: 1.52x faster
sqlglot_transpile 2.68 ms 1.78 ms: 1.51x faster
pyflate 733 ms 492 ms: 1.49x faster
hexiom 9.42 ms 6.33 ms: 1.49x faster
unpickle_pure_python 312 us 214 us: 1.46x faster
scimark_sor 180 ms 126 ms: 1.43x faster
pickle_pure_python 455 us 318 us: 1.43x faster
spectral_norm 139 ms 97.4 ms: 1.43x faster
richards 75.1 ms 52.7 ms: 1.42x faster
mako 14.7 ms 10.4 ms: 1.41x faster
coroutines 30.3 ms 21.6 ms: 1.40x faster
logging_simple 8.88 us 6.40 us: 1.39x faster
bench_mp_pool 6.37 ms 4.65 ms: 1.37x faster
logging_format 9.64 us 7.07 us: 1.36x faster
float 111 ms 81.9 ms: 1.36x faster
thrift 1.18 ms 877 us: 1.34x faster
pycparser 1.67 sec 1.26 sec: 1.33x faster
json_dumps 14.5 ms 11.0 ms: 1.33x faster
fannkuch 483 ms 365 ms: 1.32x faster
regex_compile 190 ms 144 ms: 1.32x faster
html5lib 94.6 ms 71.9 ms: 1.32x faster
tornado_http 157 ms 120 ms: 1.31x faster
pprint_pformat 2.15 sec 1.65 sec: 1.31x faster
nqueens 115 ms 88.2 ms: 1.30x faster
pprint_safe_repr 1.05 sec 812 ms: 1.29x faster
django_template 50.2 ms 38.9 ms: 1.29x faster
chameleon 9.44 ms 7.42 ms: 1.27x faster
bench_thread_pool 1.14 ms 901 us: 1.27x faster
json_loads 30.3 us 24.0 us: 1.26x faster
deepcopy_memo 49.8 us 39.5 us: 1.26x faster
sympy_sum 193 ms 154 ms: 1.25x faster
xml_etree_process 75.9 ms 60.9 ms: 1.25x faster
dask 472 ms 379 ms: 1.25x faster
dulwich_log 81.1 ms 65.5 ms: 1.24x faster
pathlib 21.4 ms 17.4 ms: 1.23x faster
sympy_str 360 ms 296 ms: 1.22x faster
docutils 3.41 sec 2.81 sec: 1.21x faster
sqlglot_normalize 144 ms 118 ms: 1.21x faster
tomli_loads 2.92 sec 2.41 sec: 1.21x faster
sympy_integrate 28.2 ms 23.3 ms: 1.21x faster
2to3 350 ms 291 ms: 1.20x faster
mdp 3.01 sec 2.52 sec: 1.19x faster
sympy_expand 600 ms 505 ms: 1.19x faster
scimark_sparse_mat_mult 5.08 ms 4.29 ms: 1.18x faster
genshi_text 31.4 ms 26.6 ms: 1.18x faster
deepcopy 468 us 397 us: 1.18x faster
sqlglot_optimize 70.1 ms 59.7 ms: 1.18x faster
async_generators 421 ms 359 ms: 1.17x faster
scimark_fft 361 ms 314 ms: 1.15x faster
deepcopy_reduce 4.01 us 3.54 us: 1.13x faster
json 5.86 ms 5.22 ms: 1.12x faster
gunicorn 1.16 ms 1.04 ms: 1.12x faster
aiohttp 1.19 ms 1.07 ms: 1.11x faster
xml_etree_parse 160 ms 145 ms: 1.11x faster
xml_etree_iterparse 110 ms 100 ms: 1.10x faster
genshi_xml 63.3 ms 57.3 ms: 1.10x faster
xml_etree_generate 92.3 ms 85.3 ms: 1.08x faster
meteor_contest 138 ms 128 ms: 1.08x faster
sqlite_synth 2.99 us 2.79 us: 1.07x faster
pidigits 271 ms 253 ms: 1.07x faster
regex_dna 261 ms 244 ms: 1.07x faster
unpack_sequence 59.9 ns 56.8 ns: 1.05x faster
regex_v8 27.2 ms 26.2 ms: 1.04x faster
asyncio_websockets 390 ms 382 ms: 1.02x faster
flaskblogging 4.39 ms 4.62 ms: 1.05x slower
pickle 9.89 us 10.5 us: 1.07x slower
pickle_dict 29.5 us 32.1 us: 1.09x slower
regex_effbot 3.09 ms 3.37 ms: 1.09x slower
pickle_list 4.12 us 4.59 us: 1.11x slower
unpickle 13.5 us 15.1 us: 1.12x slower
mypy2 933 ms 1.05 sec: 1.12x slower
python_startup 11.5 ms 13.3 ms: 1.16x slower
telco 7.23 ms 8.58 ms: 1.19x slower
gc_traversal 3.42 ms 4.11 ms: 1.20x slower
python_startup_no_site 7.33 ms 8.94 ms: 1.22x slower
coverage 63.3 ms 81.1 ms: 1.28x slower
Geometric mean (ref) 1.28x faster

Benchmark hidden because not significant (2): unpickle_list, create_gc_cycles Ignored benchmarks (2) of results/bm-20220323-3.10.4-9d38120/bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120.json: sqlalchemy_declarative, sqlalchemy_imperative Ignored benchmarks (5) of results/bm-20241007-3.13.0-60403a5/bm-20241007-pythonperf2-x86_64-python-v3.13.0-3.13.0-60403a5.json: async_tree_cpu_io_mixed_tg, async_tree_io_tg, async_tree_memoization_tg, async_tree_none_tg, bpe_tokeniser

HPT report

  • Reliability score: 100.00% likely to be faster
  • 90% likely to have a speedup of 1.24x
  • 95% likely to have a speedup of 1.24x
  • 99% likely to have a speedup of 1.21x

Memory

  • memory change: 1.12x