Skip to content

Latest commit

 

History

History
213 lines (190 loc) · 25 KB

bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26-vs-3.10.4.md

File metadata and controls

213 lines (190 loc) · 25 KB

Results vs. 3.10.4

  • fork: python
  • ref: a19bb261a327e1008f21
  • machine: darwin-arm64
  • commit hash: a19bb26
  • commit date: 2024-06-15
  • overall geometric mean: 1.26x faster
  • HPT reliability: 100.00%
  • HPT 99th percentile: 1.20x faster
  • Memory change: 1.18x

Benchmarks with tag 'apps':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
2to3 192 ms 160 ms: 1.19x faster
chameleon 6.26 ms 4.33 ms: 1.45x faster
docutils 1.73 sec 1.44 sec: 1.20x faster
html5lib 42.4 ms 31.2 ms: 1.36x faster
tornado_http 86.7 ms 66.6 ms: 1.30x faster
Geometric mean (ref) 1.30x faster

Benchmarks with tag 'asyncio':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
async_tree_none 388 ms 209 ms: 1.86x faster
async_tree_memoization 474 ms 260 ms: 1.82x faster
async_tree_io 980 ms 559 ms: 1.75x faster
async_tree_cpu_io_mixed 649 ms 468 ms: 1.39x faster
Geometric mean (ref) 1.69x faster

Benchmarks with tag 'math':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
nbody 93.0 ms 59.7 ms: 1.56x faster
float 69.0 ms 48.5 ms: 1.42x faster
Geometric mean (ref) 1.30x faster

Benchmark hidden because not significant (1): pidigits

Benchmarks with tag 'regex':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
regex_compile 95.3 ms 68.4 ms: 1.39x faster
regex_dna 174 ms 150 ms: 1.17x faster
regex_v8 17.1 ms 17.2 ms: 1.00x slower
regex_effbot 2.46 ms 2.58 ms: 1.05x slower
Geometric mean (ref) 1.11x faster

Benchmarks with tag 'serialize':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
pickle_pure_python 281 us 179 us: 1.57x faster
unpickle_pure_python 194 us 140 us: 1.38x faster
json_dumps 8.11 ms 6.18 ms: 1.31x faster
xml_etree_process 46.5 ms 36.9 ms: 1.26x faster
tomli_loads 1.71 sec 1.48 sec: 1.15x faster
xml_etree_parse 108 ms 102 ms: 1.05x faster
xml_etree_generate 53.5 ms 52.9 ms: 1.01x faster
json_loads 16.4 us 16.9 us: 1.03x slower
unpickle 8.80 us 9.21 us: 1.05x slower
pickle 6.97 us 7.49 us: 1.07x slower
pickle_dict 17.0 us 18.3 us: 1.08x slower
unpickle_list 2.69 us 2.91 us: 1.08x slower
pickle_list 2.74 us 3.03 us: 1.11x slower
Geometric mean (ref) 1.08x faster

Benchmark hidden because not significant (1): xml_etree_iterparse

Benchmarks with tag 'startup':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
python_startup 10.9 ms 15.0 ms: 1.38x slower
python_startup_no_site 7.91 ms 12.2 ms: 1.54x slower
Geometric mean (ref) 1.46x slower

Benchmarks with tag 'template':

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
mako 9.87 ms 6.95 ms: 1.42x faster
django_template 26.4 ms 19.5 ms: 1.36x faster
genshi_text 17.3 ms 14.0 ms: 1.24x faster
genshi_xml 33.8 ms 29.7 ms: 1.14x faster
Geometric mean (ref) 1.28x faster

All benchmarks:

Benchmark bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120 bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
typing_runtime_protocols 323 us 88.7 us: 3.64x faster
deltablue 4.91 ms 2.15 ms: 2.29x faster
raytrace 301 ms 147 ms: 2.04x faster
logging_silent 117 ns 60.3 ns: 1.94x faster
chaos 65.8 ms 34.8 ms: 1.89x faster
async_tree_none 388 ms 209 ms: 1.86x faster
async_tree_memoization 474 ms 260 ms: 1.82x faster
async_tree_io 980 ms 559 ms: 1.75x faster
sqlglot_parse 1.24 ms 731 us: 1.70x faster
comprehensions 16.9 us 10.2 us: 1.66x faster
richards_super 57.8 ms 35.1 ms: 1.65x faster
pylint 277 ms 170 ms: 1.63x faster
sqlglot_transpile 1.44 ms 888 us: 1.62x faster
mypy2 607 ms 381 ms: 1.59x faster
pickle_pure_python 281 us 179 us: 1.57x faster
nbody 93.0 ms 59.7 ms: 1.56x faster
scimark_monte_carlo 65.6 ms 42.4 ms: 1.55x faster
scimark_lu 103 ms 66.7 ms: 1.54x faster
richards 48.7 ms 31.8 ms: 1.53x faster
deepcopy_memo 34.7 us 22.7 us: 1.53x faster
hexiom 6.19 ms 4.08 ms: 1.52x faster
go 151 ms 100 ms: 1.51x faster
asyncio_tcp 659 ms 441 ms: 1.50x faster
logging_simple 4.45 us 3.06 us: 1.45x faster
crypto_pyaes 71.8 ms 49.6 ms: 1.45x faster
chameleon 6.26 ms 4.33 ms: 1.45x faster
logging_format 4.83 us 3.35 us: 1.44x faster
spectral_norm 94.8 ms 66.5 ms: 1.42x faster
float 69.0 ms 48.5 ms: 1.42x faster
mako 9.87 ms 6.95 ms: 1.42x faster
generators 32.3 ms 22.8 ms: 1.42x faster
regex_compile 95.3 ms 68.4 ms: 1.39x faster
pycparser 877 ms 631 ms: 1.39x faster
async_tree_cpu_io_mixed 649 ms 468 ms: 1.39x faster
unpickle_pure_python 194 us 140 us: 1.38x faster
pprint_safe_repr 641 ms 465 ms: 1.38x faster
pprint_pformat 1.30 sec 949 ms: 1.37x faster
html5lib 42.4 ms 31.2 ms: 1.36x faster
django_template 26.4 ms 19.5 ms: 1.36x faster
scimark_sor 128 ms 95.4 ms: 1.34x faster
deepcopy 272 us 203 us: 1.34x faster
sympy_sum 92.2 ms 69.3 ms: 1.33x faster
pyflate 427 ms 322 ms: 1.33x faster
thrift 572 us 432 us: 1.32x faster
json_dumps 8.11 ms 6.18 ms: 1.31x faster
coroutines 20.7 ms 15.9 ms: 1.30x faster
tornado_http 86.7 ms 66.6 ms: 1.30x faster
deepcopy_reduce 2.33 us 1.81 us: 1.29x faster
dulwich_log 35.3 ms 27.5 ms: 1.29x faster
sympy_integrate 13.1 ms 10.3 ms: 1.27x faster
xml_etree_process 46.5 ms 36.9 ms: 1.26x faster
gunicorn 1.30 ms 1.04 ms: 1.26x faster
sympy_str 165 ms 132 ms: 1.25x faster
asyncio_tcp_ssl 1.60 sec 1.28 sec: 1.25x faster
genshi_text 17.3 ms 14.0 ms: 1.24x faster
scimark_fft 224 ms 181 ms: 1.24x faster
scimark_sparse_mat_mult 3.42 ms 2.78 ms: 1.23x faster
nqueens 63.8 ms 52.6 ms: 1.21x faster
fannkuch 303 ms 251 ms: 1.20x faster
docutils 1.73 sec 1.44 sec: 1.20x faster
2to3 192 ms 160 ms: 1.19x faster
sqlglot_optimize 36.8 ms 30.9 ms: 1.19x faster
aiohttp 1.22 ms 1.03 ms: 1.19x faster
sympy_expand 269 ms 226 ms: 1.19x faster
regex_dna 174 ms 150 ms: 1.17x faster
dask 253 ms 219 ms: 1.16x faster
tomli_loads 1.71 sec 1.48 sec: 1.15x faster
bench_thread_pool 527 us 458 us: 1.15x faster
sqlglot_normalize 190 ms 165 ms: 1.15x faster
mdp 1.63 sec 1.42 sec: 1.15x faster
genshi_xml 33.8 ms 29.7 ms: 1.14x faster
meteor_contest 77.7 ms 70.2 ms: 1.11x faster
json 3.08 ms 2.92 ms: 1.05x faster
xml_etree_parse 108 ms 102 ms: 1.05x faster
pathlib 24.5 ms 23.5 ms: 1.04x faster
xml_etree_generate 53.5 ms 52.9 ms: 1.01x faster
regex_v8 17.1 ms 17.2 ms: 1.00x slower
json_loads 16.4 us 16.9 us: 1.03x slower
gc_traversal 2.36 ms 2.46 ms: 1.04x slower
create_gc_cycles 860 us 900 us: 1.05x slower
unpickle 8.80 us 9.21 us: 1.05x slower
regex_effbot 2.46 ms 2.58 ms: 1.05x slower
sqlite_synth 1.46 us 1.54 us: 1.06x slower
pickle 6.97 us 7.49 us: 1.07x slower
pickle_dict 17.0 us 18.3 us: 1.08x slower
unpickle_list 2.69 us 2.91 us: 1.08x slower
coverage 41.5 ms 45.7 ms: 1.10x slower
pickle_list 2.74 us 3.03 us: 1.11x slower
async_generators 231 ms 284 ms: 1.23x slower
bench_mp_pool 37.4 ms 47.3 ms: 1.26x slower
telco 3.49 ms 4.60 ms: 1.32x slower
flaskblogging 2.65 ms 3.49 ms: 1.32x slower
python_startup 10.9 ms 15.0 ms: 1.38x slower
python_startup_no_site 7.91 ms 12.2 ms: 1.54x slower
Geometric mean (ref) 1.26x faster

Benchmark hidden because not significant (3): xml_etree_iterparse, asyncio_websockets, pidigits Ignored benchmarks (3) of results/bm-20220323-3.10.4-9d38120/bm-20220323-darwin-arm64-python-v3.10.4-3.10.4-9d38120.json: sqlalchemy_declarative, sqlalchemy_imperative, unpack_sequence Ignored benchmarks (13) of results/bm-20240615-3.13.0b2+-a19bb26/bm-20240615-darwin-arm64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26.json: async_tree_cpu_io_mixed_tg, async_tree_eager, async_tree_eager_cpu_io_mixed, async_tree_eager_cpu_io_mixed_tg, async_tree_eager_io, async_tree_eager_io_tg, async_tree_eager_memoization, async_tree_eager_memoization_tg, async_tree_eager_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.23x
  • 99% likely to have a speedup of 1.20x

Memory

  • memory change: 1.18x