Skip to content

Latest commit

 

History

History
211 lines (190 loc) · 26.8 KB

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

File metadata and controls

211 lines (190 loc) · 26.8 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.25x faster
  • HPT reliability: 100.00%
  • HPT 99th percentile: 1.16x faster
  • Memory change: 1.23x

Benchmarks with tag 'apps':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
2to3 350 ms 309 ms: 1.13x faster
chameleon 9.44 ms 7.81 ms: 1.21x faster
docutils 3.41 sec 3.16 sec: 1.08x faster
html5lib 94.6 ms 74.7 ms: 1.27x faster
tornado_http 157 ms 124 ms: 1.27x faster
Geometric mean (ref) 1.19x faster

Benchmarks with tag 'asyncio':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
async_tree_none 692 ms 378 ms: 1.83x faster
async_tree_io 1.60 sec 882 ms: 1.81x faster
async_tree_memoization 819 ms 454 ms: 1.81x faster
async_tree_cpu_io_mixed 936 ms 634 ms: 1.48x faster
Geometric mean (ref) 1.72x faster

Benchmarks with tag 'math':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
nbody 134 ms 81.0 ms: 1.66x faster
float 111 ms 74.5 ms: 1.49x faster
pidigits 271 ms 253 ms: 1.07x faster
Geometric mean (ref) 1.38x faster

Benchmarks with tag 'regex':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
regex_compile 190 ms 142 ms: 1.34x faster
regex_dna 261 ms 242 ms: 1.08x faster
regex_v8 27.2 ms 25.5 ms: 1.07x faster
regex_effbot 3.09 ms 3.47 ms: 1.13x 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-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
pickle_pure_python 455 us 320 us: 1.42x faster
unpickle_pure_python 312 us 220 us: 1.42x faster
tomli_loads 2.92 sec 2.10 sec: 1.39x faster
json_dumps 14.5 ms 10.5 ms: 1.39x faster
xml_etree_process 75.9 ms 59.4 ms: 1.28x faster
json_loads 30.3 us 24.6 us: 1.24x faster
xml_etree_parse 160 ms 143 ms: 1.12x faster
xml_etree_iterparse 110 ms 99.4 ms: 1.11x faster
xml_etree_generate 92.3 ms 83.7 ms: 1.10x faster
unpickle_list 4.65 us 4.79 us: 1.03x slower
pickle 9.89 us 10.9 us: 1.10x slower
unpickle 13.5 us 15.0 us: 1.11x slower
pickle_list 4.12 us 4.58 us: 1.11x slower
pickle_dict 29.5 us 33.4 us: 1.13x slower
Geometric mean (ref) 1.13x faster

Benchmarks with tag 'startup':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
python_startup 11.5 ms 14.0 ms: 1.21x slower
python_startup_no_site 7.33 ms 9.55 ms: 1.30x slower
Geometric mean (ref) 1.26x slower

Benchmarks with tag 'template':

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
mako 14.7 ms 9.14 ms: 1.61x faster
django_template 50.2 ms 41.6 ms: 1.21x faster
genshi_text 31.4 ms 28.7 ms: 1.09x faster
genshi_xml 63.3 ms 64.0 ms: 1.01x slower
Geometric mean (ref) 1.20x faster

All benchmarks:

Benchmark bm-20220323-pythonperf2-x86_64-python-v3.10.4-3.10.4-9d38120 bm-20240615-pythonperf2-x86_64-python-a19bb261a327e1008f21-3.13.0b2+-a19bb26
typing_runtime_protocols 537 us 184 us: 2.92x faster
asyncio_tcp 779 ms 380 ms: 2.05x faster
deltablue 7.50 ms 3.76 ms: 1.99x faster
asyncio_tcp_ssl 3.10 sec 1.58 sec: 1.96x faster
async_tree_none 692 ms 378 ms: 1.83x faster
async_tree_io 1.60 sec 882 ms: 1.81x faster
async_tree_memoization 819 ms 454 ms: 1.81x faster
raytrace 489 ms 287 ms: 1.71x faster
richards_super 90.6 ms 53.1 ms: 1.71x faster
crypto_pyaes 119 ms 70.5 ms: 1.69x faster
chaos 109 ms 64.3 ms: 1.69x faster
spectral_norm 139 ms 82.5 ms: 1.69x faster
pyflate 733 ms 441 ms: 1.66x faster
nbody 134 ms 81.0 ms: 1.66x faster
scimark_monte_carlo 107 ms 66.0 ms: 1.63x faster
generators 57.3 ms 35.4 ms: 1.62x faster
richards 75.1 ms 46.4 ms: 1.62x faster
mako 14.7 ms 9.14 ms: 1.61x faster
go 262 ms 165 ms: 1.59x faster
sqlglot_parse 2.24 ms 1.43 ms: 1.57x faster
float 111 ms 74.5 ms: 1.49x faster
pylint 566 ms 382 ms: 1.48x faster
async_tree_cpu_io_mixed 936 ms 634 ms: 1.48x faster
comprehensions 26.7 us 18.1 us: 1.47x faster
sqlglot_transpile 2.68 ms 1.84 ms: 1.46x faster
pickle_pure_python 455 us 320 us: 1.42x faster
fannkuch 483 ms 340 ms: 1.42x faster
unpickle_pure_python 312 us 220 us: 1.42x faster
coroutines 30.3 ms 21.7 ms: 1.39x faster
hexiom 9.42 ms 6.77 ms: 1.39x faster
tomli_loads 2.92 sec 2.10 sec: 1.39x faster
json_dumps 14.5 ms 10.5 ms: 1.39x faster
logging_format 9.64 us 7.11 us: 1.36x faster
logging_simple 8.88 us 6.54 us: 1.36x faster
logging_silent 167 ns 124 ns: 1.35x faster
deepcopy_memo 49.8 us 37.1 us: 1.34x faster
regex_compile 190 ms 142 ms: 1.34x faster
pycparser 1.67 sec 1.25 sec: 1.33x faster
bench_mp_pool 6.37 ms 4.78 ms: 1.33x faster
scimark_sor 180 ms 136 ms: 1.33x faster
scimark_lu 167 ms 127 ms: 1.31x faster
pprint_pformat 2.15 sec 1.64 sec: 1.31x faster
pprint_safe_repr 1.05 sec 801 ms: 1.31x faster
xml_etree_process 75.9 ms 59.4 ms: 1.28x faster
tornado_http 157 ms 124 ms: 1.27x faster
html5lib 94.6 ms 74.7 ms: 1.27x faster
thrift 1.18 ms 935 us: 1.26x faster
scimark_sparse_mat_mult 5.08 ms 4.06 ms: 1.25x faster
scimark_fft 361 ms 291 ms: 1.24x faster
json_loads 30.3 us 24.6 us: 1.24x faster
pathlib 21.4 ms 17.5 ms: 1.22x faster
chameleon 9.44 ms 7.81 ms: 1.21x faster
django_template 50.2 ms 41.6 ms: 1.21x faster
bench_thread_pool 1.14 ms 952 us: 1.20x faster
dulwich_log 81.1 ms 67.8 ms: 1.20x faster
nqueens 115 ms 96.8 ms: 1.19x faster
mdp 3.01 sec 2.57 sec: 1.17x faster
dask 472 ms 407 ms: 1.16x faster
sympy_sum 193 ms 169 ms: 1.14x faster
sympy_str 360 ms 318 ms: 1.13x faster
2to3 350 ms 309 ms: 1.13x faster
xml_etree_parse 160 ms 143 ms: 1.12x faster
sympy_expand 600 ms 539 ms: 1.11x faster
xml_etree_iterparse 110 ms 99.4 ms: 1.11x faster
deepcopy 468 us 423 us: 1.11x faster
sqlglot_normalize 144 ms 130 ms: 1.10x faster
xml_etree_generate 92.3 ms 83.7 ms: 1.10x faster
async_generators 421 ms 384 ms: 1.09x faster
genshi_text 31.4 ms 28.7 ms: 1.09x faster
sqlglot_optimize 70.1 ms 64.2 ms: 1.09x faster
json 5.86 ms 5.38 ms: 1.09x faster
deepcopy_reduce 4.01 us 3.68 us: 1.09x faster
sympy_integrate 28.2 ms 26.0 ms: 1.08x faster
docutils 3.41 sec 3.16 sec: 1.08x faster
mypy2 933 ms 864 ms: 1.08x faster
sqlite_synth 2.99 us 2.77 us: 1.08x faster
regex_dna 261 ms 242 ms: 1.08x faster
pidigits 271 ms 253 ms: 1.07x faster
regex_v8 27.2 ms 25.5 ms: 1.07x faster
meteor_contest 138 ms 133 ms: 1.04x faster
genshi_xml 63.3 ms 64.0 ms: 1.01x slower
unpickle_list 4.65 us 4.79 us: 1.03x slower
pickle 9.89 us 10.9 us: 1.10x slower
unpickle 13.5 us 15.0 us: 1.11x slower
pickle_list 4.12 us 4.58 us: 1.11x slower
create_gc_cycles 1.76 ms 1.98 ms: 1.12x slower
regex_effbot 3.09 ms 3.47 ms: 1.13x slower
flaskblogging 4.39 ms 4.94 ms: 1.13x slower
pickle_dict 29.5 us 33.4 us: 1.13x slower
telco 7.23 ms 8.29 ms: 1.15x slower
python_startup 11.5 ms 14.0 ms: 1.21x slower
coverage 63.3 ms 80.9 ms: 1.28x slower
python_startup_no_site 7.33 ms 9.55 ms: 1.30x slower
gc_traversal 3.42 ms 4.83 ms: 1.41x slower
Geometric mean (ref) 1.25x faster

Benchmark hidden because not significant (3): aiohttp, gunicorn, asyncio_websockets Ignored benchmarks (3) 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, unpack_sequence Ignored benchmarks (5) of results/bm-20240615-3.13.0b2+-a19bb26-JIT/bm-20240615-pythonperf2-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.21x
  • 95% likely to have a speedup of 1.20x
  • 99% likely to have a speedup of 1.16x

Memory

  • memory change: 1.23x