Skip to content

Instantly share code, notes, and snippets.

@markshannon
Created December 15, 2021 17:05
Show Gist options
  • Select an option

  • Save markshannon/b93160c6d48bd7ca1ee3229facb01056 to your computer and use it in GitHub Desktop.

Select an option

Save markshannon/b93160c6d48bd7ca1ee3229facb01056 to your computer and use it in GitHub Desktop.
Benchmark 2021-12-15_12-55-specialize-calls-to-builtin-types-ac14f9b8cbfe 2021-12-15_15-15-specialize-calls-to-normal-python-classes-4f74e305f18e
regex_v8 42.1 ms 39.3 ms: 1.07x faster
raytrace 534 ms 498 ms: 1.07x faster
pidigits 333 ms 317 ms: 1.05x faster
unpack_sequence 78.4 ns 75.3 ns: 1.04x faster
spectral_norm 176 ms 169 ms: 1.04x faster
regex_effbot 5.42 ms 5.28 ms: 1.03x faster
pickle_pure_python 568 us 557 us: 1.02x faster
crypto_pyaes 147 ms 144 ms: 1.02x faster
chameleon 13.2 ms 13.0 ms: 1.02x faster
pickle 17.0 us 16.8 us: 1.01x faster
chaos 121 ms 120 ms: 1.01x faster
unpickle_pure_python 422 us 418 us: 1.01x faster
scimark_sor 213 ms 211 ms: 1.01x faster
deltablue 6.88 ms 6.83 ms: 1.01x faster
scimark_fft 565 ms 563 ms: 1.00x faster
mako 19.8 ms 19.7 ms: 1.00x faster
2to3 435 ms 433 ms: 1.00x faster
python_startup_no_site 9.85 ms 9.88 ms: 1.00x slower
sympy_integrate 35.6 ms 35.7 ms: 1.00x slower
xml_etree_process 99.7 ms 100 ms: 1.00x slower
python_startup 13.0 ms 13.1 ms: 1.00x slower
scimark_lu 193 ms 195 ms: 1.01x slower
logging_simple 10.4 us 10.5 us: 1.01x slower
xml_etree_generate 141 ms 142 ms: 1.01x slower
fannkuch 636 ms 641 ms: 1.01x slower
logging_format 11.2 us 11.3 us: 1.01x slower
django_template 61.5 ms 62.0 ms: 1.01x slower
xml_etree_parse 249 ms 251 ms: 1.01x slower
dulwich_log 113 ms 114 ms: 1.01x slower
float 133 ms 134 ms: 1.01x slower
json_dumps 21.8 ms 22.0 ms: 1.01x slower
nbody 164 ms 166 ms: 1.01x slower
scimark_monte_carlo 120 ms 122 ms: 1.01x slower
go 248 ms 252 ms: 1.01x slower
pathlib 32.2 ms 32.8 ms: 1.02x slower
hexiom 10.8 ms 10.9 ms: 1.02x slower
pickle_list 7.17 us 7.30 us: 1.02x slower
nqueens 141 ms 144 ms: 1.02x slower
sqlalchemy_imperative 31.2 ms 31.9 ms: 1.03x slower
unpickle 22.4 us 23.0 us: 1.03x slower
pickle_dict 47.9 us 49.3 us: 1.03x slower
regex_dna 358 ms 370 ms: 1.03x slower
Geometric mean (ref) 1.00x faster

Benchmark hidden because not significant (16): telco, sqlalchemy_declarative, unpickle_list, xml_etree_iterparse, scimark_sparse_mat_mult, sympy_expand, json_loads, pyflate, regex_compile, logging_silent, sympy_str, meteor_contest, sympy_sum, sqlite_synth, richards, tornado_http

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