Skip to content

Instantly share code, notes, and snippets.

@corona10
Created May 29, 2023 09:05
Show Gist options
  • Save corona10/2cfd404ac0cc9d9a61c71d4365e7c5bb to your computer and use it in GitHub Desktop.
Save corona10/2cfd404ac0cc9d9a61c71d4365e7c5bb to your computer and use it in GitHub Desktop.
gh-104635.md

Benchmarks with tag 'apps':

Benchmark base opt
docutils 4.10 sec 4.12 sec: 1.00x slower
html5lib 93.2 ms 95.0 ms: 1.02x slower
tornado_http 179 ms 177 ms: 1.01x faster
Geometric mean (ref) 1.00x slower

Benchmarks with tag 'math':

Benchmark base opt
float 121 ms 123 ms: 1.02x slower
nbody 152 ms 151 ms: 1.01x faster
pidigits 303 ms 303 ms: 1.00x slower
Geometric mean (ref) 1.00x slower

Benchmarks with tag 'regex':

Benchmark base opt
regex_compile 209 ms 211 ms: 1.01x slower
regex_dna 298 ms 294 ms: 1.01x faster
regex_v8 33.6 ms 33.4 ms: 1.00x faster
Geometric mean (ref) 1.00x faster

Benchmark hidden because not significant (1): regex_effbot

Benchmarks with tag 'serialize':

Benchmark base opt
json_dumps 15.6 ms 15.3 ms: 1.01x faster
pickle 17.5 us 17.2 us: 1.02x faster
pickle_dict 43.9 us 43.2 us: 1.02x faster
pickle_list 6.48 us 6.37 us: 1.02x faster
pickle_pure_python 464 us 469 us: 1.01x slower
unpickle 23.2 us 22.7 us: 1.02x faster
unpickle_pure_python 337 us 340 us: 1.01x slower
xml_etree_iterparse 161 ms 163 ms: 1.01x slower
Geometric mean (ref) 1.00x faster

Benchmark hidden because not significant (6): json_loads, tomli_loads, unpickle_list, xml_etree_parse, xml_etree_generate, xml_etree_process

Benchmarks with tag 'startup':

Benchmark base opt
python_startup 13.2 ms 13.3 ms: 1.00x slower
python_startup_no_site 9.88 ms 9.86 ms: 1.00x faster
Geometric mean (ref) 1.00x slower

Benchmarks with tag 'template':

Benchmark base opt
genshi_text 34.7 ms 35.2 ms: 1.02x slower
genshi_xml 78.6 ms 78.0 ms: 1.01x faster
mako 16.7 ms 16.4 ms: 1.02x faster
Geometric mean (ref) 1.00x faster

All benchmarks:

Benchmark base opt
async_generators 704 ms 709 ms: 1.01x slower
async_tree_none 697 ms 689 ms: 1.01x faster
async_tree_io 1.60 sec 1.59 sec: 1.00x faster
asyncio_tcp 598 ms 601 ms: 1.01x slower
chaos 97.3 ms 97.6 ms: 1.00x slower
comprehensions 32.0 us 32.1 us: 1.00x slower
bench_mp_pool 26.3 ms 9.72 ms: 2.71x faster
bench_thread_pool 1.31 ms 1.28 ms: 1.02x faster
coroutines 35.3 ms 35.1 ms: 1.01x faster
coverage 153 ms 152 ms: 1.01x faster
crypto_pyaes 118 ms 121 ms: 1.02x slower
deepcopy 532 us 539 us: 1.01x slower
deepcopy_memo 56.0 us 57.5 us: 1.03x slower
docutils 4.10 sec 4.12 sec: 1.00x slower
fannkuch 601 ms 600 ms: 1.00x faster
float 121 ms 123 ms: 1.02x slower
create_gc_cycles 1.89 ms 1.89 ms: 1.00x slower
generators 45.0 ms 44.5 ms: 1.01x faster
genshi_text 34.7 ms 35.2 ms: 1.02x slower
genshi_xml 78.6 ms 78.0 ms: 1.01x faster
go 209 ms 206 ms: 1.01x faster
hexiom 8.94 ms 9.06 ms: 1.01x slower
html5lib 93.2 ms 95.0 ms: 1.02x slower
json_dumps 15.6 ms 15.3 ms: 1.01x faster
logging_format 10.3 us 10.2 us: 1.01x faster
logging_silent 156 ns 161 ns: 1.03x slower
logging_simple 9.18 us 9.26 us: 1.01x slower
mako 16.7 ms 16.4 ms: 1.02x faster
mdp 4.06 sec 4.07 sec: 1.00x slower
meteor_contest 161 ms 166 ms: 1.03x slower
nbody 152 ms 151 ms: 1.01x faster
pathlib 28.2 ms 27.6 ms: 1.02x faster
pickle 17.5 us 17.2 us: 1.02x faster
pickle_dict 43.9 us 43.2 us: 1.02x faster
pickle_list 6.48 us 6.37 us: 1.02x faster
pickle_pure_python 464 us 469 us: 1.01x slower
pidigits 303 ms 303 ms: 1.00x slower
pprint_pformat 2.27 sec 2.28 sec: 1.00x slower
pyflate 650 ms 652 ms: 1.00x slower
python_startup 13.2 ms 13.3 ms: 1.00x slower
python_startup_no_site 9.88 ms 9.86 ms: 1.00x faster
raytrace 466 ms 472 ms: 1.01x slower
regex_compile 209 ms 211 ms: 1.01x slower
regex_dna 298 ms 294 ms: 1.01x faster
regex_v8 33.6 ms 33.4 ms: 1.00x faster
richards 63.3 ms 65.4 ms: 1.03x slower
scimark_fft 544 ms 537 ms: 1.01x faster
scimark_monte_carlo 104 ms 103 ms: 1.01x faster
scimark_sor 187 ms 186 ms: 1.00x faster
scimark_sparse_mat_mult 6.63 ms 6.79 ms: 1.02x slower
spectral_norm 172 ms 176 ms: 1.02x slower
sqlglot_optimize 83.0 ms 83.6 ms: 1.01x slower
sqlglot_normalize 167 ms 169 ms: 1.01x slower
sqlite_synth 4.23 us 3.99 us: 1.06x faster
tornado_http 179 ms 177 ms: 1.01x faster
unpack_sequence 75.6 ns 70.8 ns: 1.07x faster
unpickle 23.2 us 22.7 us: 1.02x faster
unpickle_pure_python 337 us 340 us: 1.01x slower
xml_etree_iterparse 161 ms 163 ms: 1.01x slower
Geometric mean (ref) 1.01x faster

Benchmark hidden because not significant (19): async_tree_cpu_io_mixed, async_tree_memoization, deepcopy_reduce, deltablue, dulwich_log, gc_traversal, json_loads, nqueens, pprint_safe_repr, regex_effbot, scimark_lu, sqlglot_parse, sqlglot_transpile, telco, tomli_loads, unpickle_list, xml_etree_parse, xml_etree_generate, xml_etree_process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment