Skip to content

Instantly share code, notes, and snippets.

@pablogsal
Created October 19, 2021 16:13
Show Gist options
  • Save pablogsal/c4cf313c4aca307d95f118b9b5dd4986 to your computer and use it in GitHub Desktop.
Save pablogsal/c4cf313c4aca307d95f118b9b5dd4986 to your computer and use it in GitHub Desktop.

github/python/benchmarks  pyenv 3.10.0 (venv) ❯ pyperf compare_to json/* --table --table-format=md -G

Benchmark 2021-10-19_10-10-master-52af0756b2ff 2021-10-19_14-06-master-70665a9ffafc
regex_v8 31.0 ms 29.0 ms: 1.07x faster
pidigits 245 ms 229 ms: 1.07x faster
unpickle 16.8 us 15.8 us: 1.06x faster
mako 17.5 ms 16.8 ms: 1.04x faster
regex_dna 275 ms 265 ms: 1.04x faster
spectral_norm 144 ms 139 ms: 1.03x faster
pyflate 654 ms 633 ms: 1.03x faster
sqlalchemy_imperative 23.1 ms 22.4 ms: 1.03x faster
sqlite_synth 3.27 us 3.18 us: 1.03x faster
unpickle_pure_python 363 us 354 us: 1.03x faster
richards 70.1 ms 68.5 ms: 1.02x faster
xml_etree_parse 190 ms 185 ms: 1.02x faster
sqlalchemy_declarative 176 ms 172 ms: 1.02x faster
pickle_pure_python 472 us 463 us: 1.02x faster
dulwich_log 83.6 ms 82.0 ms: 1.02x faster
crypto_pyaes 108 ms 106 ms: 1.02x faster
regex_effbot 3.92 ms 3.85 ms: 1.02x faster
chameleon 10.1 ms 9.92 ms: 1.02x faster
tornado_http 138 ms 136 ms: 1.01x faster
regex_compile 185 ms 183 ms: 1.01x faster
scimark_fft 430 ms 426 ms: 1.01x faster
python_startup 11.5 ms 11.4 ms: 1.00x faster
python_startup_no_site 8.46 ms 8.45 ms: 1.00x faster
sympy_integrate 27.3 ms 27.5 ms: 1.00x slower
logging_format 8.44 us 8.49 us: 1.01x slower
fannkuch 514 ms 519 ms: 1.01x slower
deltablue 6.23 ms 6.32 ms: 1.01x slower
scimark_sor 188 ms 190 ms: 1.01x slower
raytrace 423 ms 429 ms: 1.01x slower
logging_simple 7.73 us 7.85 us: 1.01x slower
hexiom 9.41 ms 9.55 ms: 1.02x slower
pickle_dict 36.5 us 37.1 us: 1.02x slower
telco 7.54 ms 7.66 ms: 1.02x slower
scimark_monte_carlo 98.3 ms 100 ms: 1.02x slower
meteor_contest 131 ms 134 ms: 1.02x slower
nqueens 109 ms 111 ms: 1.02x slower
sympy_str 374 ms 381 ms: 1.02x slower
json_dumps 16.6 ms 17.0 ms: 1.02x slower
go 210 ms 215 ms: 1.02x slower
xml_etree_process 80.6 ms 82.4 ms: 1.02x slower
sympy_expand 618 ms 633 ms: 1.02x slower
pathlib 20.7 ms 21.2 ms: 1.02x slower
scimark_lu 184 ms 189 ms: 1.03x slower
pickle_list 5.32 us 5.48 us: 1.03x slower
xml_etree_generate 110 ms 113 ms: 1.03x slower
django_template 48.9 ms 50.4 ms: 1.03x slower
2to3 322 ms 332 ms: 1.03x slower
pickle 13.1 us 13.6 us: 1.04x slower
json_loads 34.1 us 35.4 us: 1.04x slower
unpickle_list 6.33 us 6.65 us: 1.05x slower
chaos 95.5 ms 101 ms: 1.06x slower
nbody 139 ms 149 ms: 1.07x slower
scimark_sparse_mat_mult 5.76 ms 6.34 ms: 1.10x slower
logging_silent 148 ns 164 ns: 1.11x slower
unpack_sequence 55.3 ns 62.3 ns: 1.13x slower
Geometric mean (ref) 1.01x slower

Benchmark hidden because not significant (3): xml_etree_iterparse, float, sympy_sum

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