Skip to content

Instantly share code, notes, and snippets.

@Fidget-Spinner
Created January 5, 2025 18:27
Show Gist options
  • Select an option

  • Save Fidget-Spinner/497c664eef389622d146d632990b0d21 to your computer and use it in GitHub Desktop.

Select an option

Save Fidget-Spinner/497c664eef389622d146d632990b0d21 to your computer and use it in GitHub Desktop.

All benchmarks:

Benchmark 2025-01-05_12-07-main-2228e92da31c 2025-01-05_15-34-tail-call-465467f47553
scimark_sor 140 ms 96.3 ms: 1.46x faster
scimark_monte_carlo 79.6 ms 56.5 ms: 1.41x faster
unpack_sequence 63.5 ns 46.6 ns: 1.36x faster
scimark_lu 113 ms 86.6 ms: 1.30x faster
deepcopy_memo 37.1 us 28.9 us: 1.28x faster
hexiom 7.72 ms 6.04 ms: 1.28x faster
tomli_loads 2.63 sec 2.09 sec: 1.26x faster
fannkuch 462 ms 368 ms: 1.26x faster
scimark_fft 347 ms 277 ms: 1.25x faster
nbody 105 ms 84.7 ms: 1.24x faster
unpickle_pure_python 257 us 207 us: 1.24x faster
comprehensions 21.0 us 17.0 us: 1.24x faster
pyflate 523 ms 427 ms: 1.22x faster
go 152 ms 124 ms: 1.22x faster
logging_silent 102 ns 84.3 ns: 1.21x faster
scimark_sparse_mat_mult 5.19 ms 4.29 ms: 1.21x faster
genshi_text 28.0 ms 23.2 ms: 1.20x faster
pickle_pure_python 378 us 317 us: 1.19x faster
generators 35.7 ms 30.0 ms: 1.19x faster
spectral_norm 98.4 ms 82.9 ms: 1.19x faster
nqueens 106 ms 89.4 ms: 1.18x faster
pprint_pformat 1.91 sec 1.62 sec: 1.18x faster
float 80.3 ms 68.8 ms: 1.17x faster
pprint_safe_repr 936 ms 805 ms: 1.16x faster
genshi_xml 60.5 ms 52.5 ms: 1.15x faster
richards 50.1 ms 43.7 ms: 1.15x faster
xml_etree_process 67.2 ms 59.2 ms: 1.13x faster
deltablue 3.77 ms 3.35 ms: 1.13x faster
richards_super 56.2 ms 50.0 ms: 1.13x faster
chaos 66.7 ms 59.3 ms: 1.12x faster
coverage 85.0 ms 75.6 ms: 1.12x faster
mako 12.8 ms 11.4 ms: 1.12x faster
sqlglot_parse 1.48 ms 1.33 ms: 1.11x faster
deepcopy 302 us 272 us: 1.11x faster
django_template 42.3 ms 38.2 ms: 1.11x faster
regex_compile 154 ms 139 ms: 1.10x faster
crypto_pyaes 83.9 ms 76.4 ms: 1.10x faster
xml_etree_generate 91.6 ms 83.5 ms: 1.10x faster
raytrace 277 ms 253 ms: 1.09x faster
typing_runtime_protocols 188 us 172 us: 1.09x faster
deepcopy_reduce 3.13 us 2.87 us: 1.09x faster
coroutines 23.5 ms 21.6 ms: 1.09x faster
sqlglot_transpile 1.89 ms 1.74 ms: 1.09x faster
2to3 301 ms 286 ms: 1.05x faster
sqlglot_normalize 126 ms 120 ms: 1.05x faster
json_dumps 12.6 ms 12.0 ms: 1.05x faster
sqlglot_optimize 62.5 ms 59.6 ms: 1.05x faster
bench_thread_pool 1.01 ms 969 us: 1.05x faster
xml_etree_iterparse 113 ms 109 ms: 1.05x faster
sympy_str 311 ms 299 ms: 1.04x faster
meteor_contest 143 ms 138 ms: 1.04x faster
dulwich_log 68.1 ms 65.7 ms: 1.04x faster
sympy_sum 163 ms 158 ms: 1.03x faster
sympy_integrate 24.4 ms 23.7 ms: 1.03x faster
mdp 2.82 sec 2.73 sec: 1.03x faster
logging_simple 6.46 us 6.29 us: 1.03x faster
sympy_expand 520 ms 509 ms: 1.02x faster
pathlib 16.7 ms 16.4 ms: 1.02x faster
logging_format 7.10 us 6.97 us: 1.02x faster
telco 7.81 ms 7.68 ms: 1.02x faster
docutils 3.06 sec 3.00 sec: 1.02x faster
async_generators 471 ms 465 ms: 1.01x faster
bench_mp_pool 79.3 ms 78.2 ms: 1.01x faster
pickle 12.8 us 12.7 us: 1.01x faster
regex_dna 235 ms 232 ms: 1.01x faster
json_loads 25.8 us 25.5 us: 1.01x faster
xml_etree_parse 171 ms 169 ms: 1.01x faster
html5lib 70.7 ms 70.1 ms: 1.01x faster
sqlite_synth 2.98 us 2.96 us: 1.01x faster
python_startup 14.2 ms 14.2 ms: 1.01x faster
python_startup_no_site 9.67 ms 9.62 ms: 1.01x faster
regex_v8 27.6 ms 27.5 ms: 1.00x faster
pidigits 299 ms 298 ms: 1.00x faster
create_gc_cycles 2.11 ms 2.11 ms: 1.00x faster
unpickle_list 4.77 us 4.87 us: 1.02x slower
Geometric mean (ref) 1.10x faster

Benchmark hidden because not significant (8): pickle_dict, regex_effbot, unpickle, gc_traversal, pickle_list, asyncio_tcp_ssl, asyncio_tcp, asyncio_websockets

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