Skip to content

Instantly share code, notes, and snippets.

@pablogsal
Created December 21, 2022 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pablogsal/44d81bc95fd3146fbb5b8ff7909ae9c2 to your computer and use it in GitHub Desktop.
Save pablogsal/44d81bc95fd3146fbb5b8ff7909ae9c2 to your computer and use it in GitHub Desktop.

All benchmarks:

Benchmark 2022-12-21_09-50-main-a7715ccfba5b 2022-12-21_14-11-gc_nogen-663a9654f714
async_tree_io 1.52 sec 658 ms: 2.31x faster
async_tree_memoization 753 ms 397 ms: 1.89x faster
async_tree_none 621 ms 334 ms: 1.86x faster
async_tree_cpu_io_mixed 924 ms 607 ms: 1.52x faster
xml_etree_iterparse 121 ms 98.7 ms: 1.23x faster
docutils 3.13 sec 2.68 sec: 1.17x faster
float 89.9 ms 77.0 ms: 1.17x faster
xml_etree_parse 173 ms 151 ms: 1.14x faster
unpack_sequence 56.3 ns 51.1 ns: 1.10x faster
deltablue 4.24 ms 3.98 ms: 1.07x faster
async_generators 374 ms 351 ms: 1.07x faster
logging_silent 127 ns 121 ns: 1.05x faster
genshi_xml 60.5 ms 57.6 ms: 1.05x faster
xml_etree_generate 105 ms 101 ms: 1.04x faster
regex_effbot 3.94 ms 3.79 ms: 1.04x faster
pickle_pure_python 364 us 352 us: 1.04x faster
2to3 310 ms 299 ms: 1.03x faster
python_startup 11.2 ms 10.9 ms: 1.03x faster
html5lib 72.5 ms 70.2 ms: 1.03x faster
generators 66.7 ms 64.8 ms: 1.03x faster
json_loads 31.9 us 31.0 us: 1.03x faster
regex_dna 227 ms 222 ms: 1.03x faster
pidigits 232 ms 226 ms: 1.02x faster
python_startup_no_site 8.65 ms 8.46 ms: 1.02x faster
sqlglot_parse 1.81 ms 1.77 ms: 1.02x faster
nbody 113 ms 110 ms: 1.02x faster
unpickle_pure_python 259 us 254 us: 1.02x faster
deepcopy_reduce 3.81 us 3.75 us: 1.02x faster
deepcopy 427 us 420 us: 1.02x faster
go 173 ms 170 ms: 1.02x faster
pyflate 501 ms 493 ms: 1.02x faster
genshi_text 26.3 ms 25.9 ms: 1.01x faster
sqlglot_transpile 2.15 ms 2.13 ms: 1.01x faster
logging_format 8.04 us 7.94 us: 1.01x faster
richards 53.7 ms 53.1 ms: 1.01x faster
coverage 545 ms 538 ms: 1.01x faster
sympy_expand 571 ms 564 ms: 1.01x faster
nqueens 103 ms 102 ms: 1.01x faster
xml_etree_process 72.6 ms 71.7 ms: 1.01x faster
deepcopy_memo 44.5 us 44.0 us: 1.01x faster
mako 12.1 ms 12.0 ms: 1.01x faster
telco 7.77 ms 7.70 ms: 1.01x faster
unpickle_list 5.97 us 5.92 us: 1.01x faster
logging_simple 7.28 us 7.24 us: 1.01x faster
mdp 3.37 sec 3.35 sec: 1.01x faster
sympy_integrate 25.5 ms 25.4 ms: 1.00x faster
raytrace 370 ms 371 ms: 1.00x slower
regex_v8 26.1 ms 26.2 ms: 1.00x slower
chameleon 8.42 ms 8.45 ms: 1.00x slower
hexiom 7.81 ms 7.84 ms: 1.00x slower
scimark_fft 380 ms 382 ms: 1.00x slower
bench_thread_pool 1.00 ms 1.01 ms: 1.01x slower
scimark_sor 138 ms 138 ms: 1.01x slower
sqlglot_normalize 135 ms 136 ms: 1.01x slower
scimark_monte_carlo 79.0 ms 79.6 ms: 1.01x slower
sqlglot_optimize 64.4 ms 64.9 ms: 1.01x slower
unpickle 16.2 us 16.4 us: 1.01x slower
json_dumps 12.1 ms 12.2 ms: 1.01x slower
pprint_pformat 1.77 sec 1.79 sec: 1.01x slower
regex_compile 162 ms 164 ms: 1.01x slower
scimark_sparse_mat_mult 4.64 ms 4.70 ms: 1.01x slower
crypto_pyaes 91.0 ms 92.1 ms: 1.01x slower
pprint_safe_repr 862 ms 877 ms: 1.02x slower
meteor_contest 127 ms 130 ms: 1.02x slower
sqlite_synth 2.52 us 2.57 us: 1.02x slower
chaos 82.4 ms 84.3 ms: 1.02x slower
fannkuch 451 ms 463 ms: 1.03x slower
django_template 41.9 ms 43.1 ms: 1.03x slower
spectral_norm 122 ms 126 ms: 1.03x slower
pickle_list 4.90 us 5.17 us: 1.06x slower
coroutines 33.9 ms 36.0 ms: 1.06x slower
pickle_dict 36.8 us 39.1 us: 1.06x slower
Geometric mean (ref) 1.05x faster

Benchmark hidden because not significant (6): scimark_lu, bench_mp_pool, sympy_sum, pickle, sympy_str, pathlib

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