Skip to content

Latest commit

 

History

History
214 lines (192 loc) · 25.2 KB

bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26-vs-3.10.4.md

File metadata and controls

214 lines (192 loc) · 25.2 KB

Results vs. 3.10.4

  • fork: python
  • ref: a19bb261a327e1008f21
  • machine: linux-x86_64
  • commit hash: a19bb26
  • commit date: 2024-06-15
  • overall geometric mean: 1.32x faster
  • HPT reliability: 100.00%
  • HPT 99th percentile: 1.21x faster
  • Memory change: 1.22x

Benchmarks with tag 'apps':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
2to3 348 ms 281 ms: 1.24x faster
chameleon 9.68 ms 7.06 ms: 1.37x faster
docutils 3.30 sec 2.98 sec: 1.11x faster
html5lib 88.9 ms 68.8 ms: 1.29x faster
tornado_http 136 ms 97.5 ms: 1.40x faster
Geometric mean (ref) 1.28x faster

Benchmarks with tag 'asyncio':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
async_tree_none 728 ms 385 ms: 1.89x faster
async_tree_memoization 870 ms 461 ms: 1.89x faster
async_tree_io 1.77 sec 944 ms: 1.87x faster
async_tree_cpu_io_mixed 1.02 sec 617 ms: 1.65x faster
Geometric mean (ref) 1.82x faster

Benchmarks with tag 'math':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
nbody 154 ms 80.6 ms: 1.91x faster
float 117 ms 72.1 ms: 1.62x faster
pidigits 191 ms 188 ms: 1.01x faster
Geometric mean (ref) 1.46x faster

Benchmarks with tag 'regex':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
regex_compile 188 ms 142 ms: 1.33x faster
regex_v8 27.8 ms 24.1 ms: 1.15x faster
regex_dna 227 ms 220 ms: 1.03x faster
regex_effbot 3.63 ms 3.56 ms: 1.02x faster
Geometric mean (ref) 1.13x faster

Benchmarks with tag 'serialize':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
pickle_pure_python 484 us 298 us: 1.63x faster
tomli_loads 3.14 sec 1.96 sec: 1.60x faster
unpickle_pure_python 331 us 224 us: 1.48x faster
json_dumps 14.2 ms 10.3 ms: 1.38x faster
xml_etree_process 79.1 ms 58.9 ms: 1.34x faster
xml_etree_generate 99.4 ms 82.9 ms: 1.20x faster
xml_etree_iterparse 115 ms 102 ms: 1.14x faster
xml_etree_parse 168 ms 150 ms: 1.12x faster
json_loads 31.2 us 28.8 us: 1.08x faster
pickle_list 5.08 us 5.11 us: 1.01x slower
pickle 10.7 us 12.1 us: 1.14x slower
unpickle 14.4 us 16.7 us: 1.16x slower
pickle_dict 29.6 us 35.6 us: 1.20x slower
Geometric mean (ref) 1.15x faster

Benchmark hidden because not significant (1): unpickle_list

Benchmarks with tag 'startup':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
python_startup 14.6 ms 11.3 ms: 1.29x faster
python_startup_no_site 5.93 ms 7.64 ms: 1.29x slower
Geometric mean (ref) 1.00x faster

Benchmarks with tag 'template':

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
mako 16.3 ms 9.78 ms: 1.67x faster
django_template 48.2 ms 36.9 ms: 1.30x faster
genshi_text 31.8 ms 25.7 ms: 1.24x faster
genshi_xml 66.0 ms 60.1 ms: 1.10x faster
Geometric mean (ref) 1.31x faster

All benchmarks:

Benchmark bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
typing_runtime_protocols 544 us 171 us: 3.18x faster
generators 80.1 ms 30.0 ms: 2.67x faster
deltablue 7.91 ms 3.76 ms: 2.11x faster
richards_super 94.7 ms 49.4 ms: 1.92x faster
chaos 115 ms 60.3 ms: 1.92x faster
nbody 154 ms 80.6 ms: 1.91x faster
crypto_pyaes 128 ms 67.4 ms: 1.90x faster
async_tree_none 728 ms 385 ms: 1.89x faster
async_tree_memoization 870 ms 461 ms: 1.89x faster
scimark_monte_carlo 118 ms 63.0 ms: 1.88x faster
async_tree_io 1.77 sec 944 ms: 1.87x faster
richards 79.3 ms 43.0 ms: 1.84x faster
raytrace 507 ms 279 ms: 1.82x faster
logging_silent 190 ns 107 ns: 1.77x faster
asyncio_tcp 922 ms 522 ms: 1.77x faster
comprehensions 28.8 us 16.7 us: 1.72x faster
spectral_norm 170 ms 101 ms: 1.68x faster
mako 16.3 ms 9.78 ms: 1.67x faster
sqlglot_parse 2.17 ms 1.31 ms: 1.65x faster
async_tree_cpu_io_mixed 1.02 sec 617 ms: 1.65x faster
pyflate 716 ms 439 ms: 1.63x faster
pickle_pure_python 484 us 298 us: 1.63x faster
float 117 ms 72.1 ms: 1.62x faster
go 240 ms 148 ms: 1.62x faster
scimark_sor 220 ms 137 ms: 1.61x faster
tomli_loads 3.14 sec 1.96 sec: 1.60x faster
hexiom 10.4 ms 6.64 ms: 1.57x faster
sqlglot_transpile 2.57 ms 1.65 ms: 1.56x faster
pylint 551 ms 354 ms: 1.56x faster
deepcopy_memo 58.5 us 37.9 us: 1.54x faster
coroutines 35.1 ms 23.1 ms: 1.52x faster
fannkuch 532 ms 354 ms: 1.50x faster
unpickle_pure_python 331 us 224 us: 1.48x faster
scimark_fft 466 ms 315 ms: 1.48x faster
logging_simple 8.30 us 5.71 us: 1.45x faster
pprint_pformat 2.10 sec 1.45 sec: 1.45x faster
scimark_sparse_mat_mult 6.47 ms 4.46 ms: 1.45x faster
logging_format 9.09 us 6.40 us: 1.42x faster
pprint_safe_repr 1.02 sec 720 ms: 1.41x faster
tornado_http 136 ms 97.5 ms: 1.40x faster
scimark_lu 176 ms 126 ms: 1.39x faster
asyncio_tcp_ssl 2.57 sec 1.86 sec: 1.38x faster
json_dumps 14.2 ms 10.3 ms: 1.38x faster
chameleon 9.68 ms 7.06 ms: 1.37x faster
xml_etree_process 79.1 ms 58.9 ms: 1.34x faster
pycparser 1.58 sec 1.18 sec: 1.33x faster
regex_compile 188 ms 142 ms: 1.33x faster
django_template 48.2 ms 36.9 ms: 1.30x faster
python_startup 14.6 ms 11.3 ms: 1.29x faster
html5lib 88.9 ms 68.8 ms: 1.29x faster
thrift 1.07 ms 834 us: 1.28x faster
deepcopy 479 us 379 us: 1.26x faster
deepcopy_reduce 4.17 us 3.31 us: 1.26x faster
sqlglot_normalize 143 ms 115 ms: 1.25x faster
genshi_text 31.8 ms 25.7 ms: 1.24x faster
2to3 348 ms 281 ms: 1.24x faster
dulwich_log 84.3 ms 68.9 ms: 1.22x faster
nqueens 106 ms 86.7 ms: 1.22x faster
sqlglot_optimize 69.2 ms 57.1 ms: 1.21x faster
xml_etree_generate 99.4 ms 82.9 ms: 1.20x faster
pathlib 20.5 ms 17.2 ms: 1.19x faster
djangocms 38.4 us 32.5 us: 1.18x faster
dask 441 ms 380 ms: 1.16x faster
aiohttp 1.44 ms 1.25 ms: 1.15x faster
regex_v8 27.8 ms 24.1 ms: 1.15x faster
gunicorn 1.53 ms 1.35 ms: 1.14x faster
xml_etree_iterparse 115 ms 102 ms: 1.14x faster
sympy_sum 196 ms 173 ms: 1.14x faster
bench_thread_pool 986 us 868 us: 1.14x faster
sympy_str 346 ms 305 ms: 1.13x faster
sympy_integrate 25.8 ms 22.8 ms: 1.13x faster
xml_etree_parse 168 ms 150 ms: 1.12x faster
docutils 3.30 sec 2.98 sec: 1.11x faster
genshi_xml 66.0 ms 60.1 ms: 1.10x faster
sympy_expand 566 ms 516 ms: 1.10x faster
mypy2 894 ms 819 ms: 1.09x faster
meteor_contest 120 ms 110 ms: 1.09x faster
json_loads 31.2 us 28.8 us: 1.08x faster
sqlite_synth 3.02 us 2.85 us: 1.06x faster
json 5.69 ms 5.48 ms: 1.04x faster
regex_dna 227 ms 220 ms: 1.03x faster
mdp 2.85 sec 2.79 sec: 1.02x faster
regex_effbot 3.63 ms 3.56 ms: 1.02x faster
pidigits 191 ms 188 ms: 1.01x faster
gc_traversal 3.62 ms 3.57 ms: 1.01x faster
pickle_list 5.08 us 5.11 us: 1.01x slower
asyncio_websockets 559 ms 567 ms: 1.02x slower
async_generators 444 ms 474 ms: 1.07x slower
flaskblogging 8.58 ms 9.32 ms: 1.09x slower
telco 7.27 ms 8.07 ms: 1.11x slower
create_gc_cycles 1.62 ms 1.83 ms: 1.13x slower
pickle 10.7 us 12.1 us: 1.14x slower
unpickle 14.4 us 16.7 us: 1.16x slower
coverage 79.4 ms 93.9 ms: 1.18x slower
pickle_dict 29.6 us 35.6 us: 1.20x slower
python_startup_no_site 5.93 ms 7.64 ms: 1.29x slower
Geometric mean (ref) 1.32x faster

Benchmark hidden because not significant (2): bench_mp_pool, unpickle_list Ignored benchmarks (3) of results/bm-20220323-3.10.4-9d38120/bm-20220323-linux-x86_64-python-v3.10.4-3.10.4-9d38120.json: sqlalchemy_declarative, sqlalchemy_imperative, unpack_sequence Ignored benchmarks (5) of results/bm-20240615-3.13.0b2+-a19bb26-JIT/bm-20240615-linux-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26.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.25x
  • 95% likely to have a speedup of 1.24x
  • 99% likely to have a speedup of 1.21x

Memory

  • memory change: 1.22x