Skip to content

Latest commit

 

History

History
193 lines (171 loc) · 22.4 KB

bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226-vs-3.12.0.md

File metadata and controls

193 lines (171 loc) · 22.4 KB

Results vs. 3.12.0

  • fork: python
  • ref: f18b2264929c56360c86
  • machine: linux-x86_64
  • commit hash: f18b226
  • commit date: 2025-01-21
  • overall geometric mean: 1.110x faster
  • HPT reliability: 100.00%
  • HPT 99th percentile: 1.06x faster
  • Memory change: 1.09x

Benchmarks with tag 'apps':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
2to3 274 ms 256 ms: 1.07x faster
docutils 2.77 sec 2.61 sec: 1.06x faster
Geometric mean (ref) 1.07x faster

Benchmarks with tag 'asyncio':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
async_tree_io_tg 1.18 sec 591 ms: 2.00x faster
async_tree_io 1.16 sec 602 ms: 1.92x faster
async_tree_memoization_tg 575 ms 308 ms: 1.86x faster
async_tree_none 472 ms 258 ms: 1.83x faster
async_tree_none_tg 450 ms 249 ms: 1.80x faster
async_tree_memoization 578 ms 324 ms: 1.79x faster
async_tree_cpu_io_mixed_tg 726 ms 470 ms: 1.54x faster
async_tree_cpu_io_mixed 726 ms 491 ms: 1.48x faster
Geometric mean (ref) 1.77x faster

Benchmarks with tag 'math':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
float 84.7 ms 71.3 ms: 1.19x faster
nbody 97.0 ms 93.6 ms: 1.04x faster
pidigits 187 ms 186 ms: 1.00x faster
Geometric mean (ref) 1.07x faster

Benchmarks with tag 'regex':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
regex_compile 148 ms 128 ms: 1.16x faster
regex_effbot 3.61 ms 3.29 ms: 1.10x faster
regex_dna 212 ms 203 ms: 1.04x faster
regex_v8 23.1 ms 25.6 ms: 1.11x slower
Geometric mean (ref) 1.05x faster

Benchmarks with tag 'serialize':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
tomli_loads 2.33 sec 1.99 sec: 1.17x faster
xml_etree_parse 159 ms 139 ms: 1.15x faster
xml_etree_iterparse 107 ms 97.6 ms: 1.09x faster
xml_etree_generate 89.2 ms 84.2 ms: 1.06x faster
unpickle_pure_python 230 us 227 us: 1.01x faster
xml_etree_process 61.7 ms 61.0 ms: 1.01x faster
pickle_pure_python 324 us 326 us: 1.01x slower
json_loads 28.5 us 29.1 us: 1.02x slower
json_dumps 10.4 ms 11.9 ms: 1.14x slower
Geometric mean (ref) 1.03x faster

Benchmarks with tag 'startup':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
python_startup_no_site 6.94 ms 7.06 ms: 1.02x slower
python_startup 9.55 ms 12.9 ms: 1.35x slower
Geometric mean (ref) 1.17x slower

Benchmarks with tag 'template':

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
django_template 34.6 ms 32.0 ms: 1.08x faster
mako 11.9 ms 11.1 ms: 1.07x faster
Geometric mean (ref) 1.08x faster

All benchmarks:

Benchmark bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0 bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226
async_tree_io_tg 1.18 sec 591 ms: 2.00x faster
async_tree_io 1.16 sec 602 ms: 1.92x faster
async_tree_memoization_tg 575 ms 308 ms: 1.86x faster
async_tree_none 472 ms 258 ms: 1.83x faster
async_tree_none_tg 450 ms 249 ms: 1.80x faster
async_tree_memoization 578 ms 324 ms: 1.79x faster
async_tree_cpu_io_mixed_tg 726 ms 470 ms: 1.54x faster
async_tree_cpu_io_mixed 726 ms 491 ms: 1.48x faster
deepcopy 371 us 260 us: 1.43x faster
deepcopy_memo 40.7 us 30.9 us: 1.32x faster
comprehensions 21.8 us 16.8 us: 1.29x faster
deepcopy_reduce 3.35 us 2.65 us: 1.26x faster
async_generators 463 ms 385 ms: 1.20x faster
go 139 ms 116 ms: 1.20x faster
float 84.7 ms 71.3 ms: 1.19x faster
deltablue 3.72 ms 3.15 ms: 1.18x faster
pathlib 19.3 ms 16.4 ms: 1.18x faster
tomli_loads 2.33 sec 1.99 sec: 1.17x faster
spectral_norm 115 ms 98.8 ms: 1.16x faster
chaos 67.0 ms 57.7 ms: 1.16x faster
regex_compile 148 ms 128 ms: 1.16x faster
raytrace 312 ms 271 ms: 1.15x faster
xml_etree_parse 159 ms 139 ms: 1.15x faster
sympy_sum 169 ms 148 ms: 1.14x faster
logging_format 7.23 us 6.36 us: 1.14x faster
crypto_pyaes 81.9 ms 72.9 ms: 1.12x faster
scimark_monte_carlo 75.1 ms 67.1 ms: 1.12x faster
sqlalchemy_declarative 147 ms 132 ms: 1.11x faster
sympy_str 300 ms 269 ms: 1.11x faster
scimark_fft 382 ms 344 ms: 1.11x faster
generators 31.2 ms 28.1 ms: 1.11x faster
sqlalchemy_imperative 18.7 ms 16.8 ms: 1.11x faster
logging_simple 6.46 us 5.88 us: 1.10x faster
regex_effbot 3.61 ms 3.29 ms: 1.10x faster
xml_etree_iterparse 107 ms 97.6 ms: 1.09x faster
sqlglot_parse 1.36 ms 1.26 ms: 1.08x faster
django_template 34.6 ms 32.0 ms: 1.08x faster
sympy_integrate 21.4 ms 19.8 ms: 1.08x faster
pyflate 482 ms 449 ms: 1.08x faster
sqlglot_transpile 1.68 ms 1.57 ms: 1.07x faster
scimark_sor 129 ms 120 ms: 1.07x faster
mako 11.9 ms 11.1 ms: 1.07x faster
2to3 274 ms 256 ms: 1.07x faster
pprint_safe_repr 776 ms 724 ms: 1.07x faster
pprint_pformat 1.57 sec 1.47 sec: 1.07x faster
meteor_contest 112 ms 105 ms: 1.07x faster
mdp 2.63 sec 2.47 sec: 1.06x faster
docutils 2.77 sec 2.61 sec: 1.06x faster
xml_etree_generate 89.2 ms 84.2 ms: 1.06x faster
dulwich_log 68.5 ms 64.8 ms: 1.06x faster
scimark_sparse_mat_mult 5.06 ms 4.78 ms: 1.06x faster
richards 45.8 ms 43.5 ms: 1.05x faster
sqlglot_normalize 110 ms 105 ms: 1.05x faster
fannkuch 417 ms 400 ms: 1.04x faster
sympy_expand 478 ms 458 ms: 1.04x faster
regex_dna 212 ms 203 ms: 1.04x faster
nqueens 83.3 ms 80.3 ms: 1.04x faster
richards_super 51.5 ms 49.7 ms: 1.04x faster
nbody 97.0 ms 93.6 ms: 1.04x faster
sqlglot_optimize 54.8 ms 53.1 ms: 1.03x faster
sqlite_synth 2.83 us 2.79 us: 1.02x faster
unpickle_pure_python 230 us 227 us: 1.01x faster
hexiom 6.41 ms 6.33 ms: 1.01x faster
xml_etree_process 61.7 ms 61.0 ms: 1.01x faster
json 5.26 ms 5.20 ms: 1.01x faster
scimark_lu 118 ms 117 ms: 1.01x faster
pidigits 187 ms 186 ms: 1.00x faster
pickle_pure_python 324 us 326 us: 1.01x slower
python_startup_no_site 6.94 ms 7.06 ms: 1.02x slower
json_loads 28.5 us 29.1 us: 1.02x slower
typing_runtime_protocols 158 us 162 us: 1.03x slower
bench_thread_pool 842 us 866 us: 1.03x slower
regex_v8 23.1 ms 25.6 ms: 1.11x slower
telco 7.10 ms 8.01 ms: 1.13x slower
json_dumps 10.4 ms 11.9 ms: 1.14x slower
coverage 72.7 ms 90.5 ms: 1.24x slower
gc_traversal 3.79 ms 4.96 ms: 1.31x slower
python_startup 9.55 ms 12.9 ms: 1.35x slower
create_gc_cycles 1.48 ms 2.47 ms: 1.67x slower
bench_mp_pool 24.0 ms 82.0 ms: 3.42x slower
Geometric mean (ref) 1.09x faster

Benchmark hidden because not significant (4): pycparser, logging_silent, asyncio_websockets, coroutines Ignored benchmarks (14) of results/bm-20231002-3.12.0-0fb18b0/bm-20231002-linux-x86_64-python-v3.12.0-3.12.0-0fb18b0.json: aiohttp, asyncio_tcp, asyncio_tcp_ssl, chameleon, dask, gunicorn, mypy2, pickle, pickle_dict, pickle_list, tornado_http, unpack_sequence, unpickle, unpickle_list Ignored benchmarks (12) of results/bm-20250121-3.14.0a4+-f18b226/bm-20250121-linux-x86_64-python-f18b2264929c56360c86-3.14.0a4+-f18b226.json: bpe_tokeniser, connected_components, genshi_text, genshi_xml, html5lib, k_core, many_optionals, pylint, shortest_path, sphinx, subparsers, thrift

  • Geometric mean (including insignificant results): 1.110x faster

HPT report

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

Memory

  • memory change: 1.09x