Skip to content

Instantly share code, notes, and snippets.

@markshannon
Created May 25, 2022 15:27
Show Gist options
  • Save markshannon/f0ad4fbe27732e6378c00ffe795ca076 to your computer and use it in GitHub Desktop.
Save markshannon/f0ad4fbe27732e6378c00ffe795ca076 to your computer and use it in GitHub Desktop.
Benchmark 2022-05-24_01-45-main-7108bdf27c7a 2022-05-24_15-33-specialize-calls-to-normal-python-classes-335de9405945
spectral_norm 183 ms 162 ms: 1.13x faster
raytrace 470 ms 438 ms: 1.07x faster
chaos 112 ms 107 ms: 1.05x faster
mako 17.3 ms 16.9 ms: 1.03x faster
scimark_monte_carlo 114 ms 111 ms: 1.03x faster
pickle 16.8 us 16.5 us: 1.02x faster
crypto_pyaes 125 ms 123 ms: 1.02x faster
logging_silent 164 ns 161 ns: 1.02x faster
pyflate 687 ms 678 ms: 1.01x faster
deltablue 5.88 ms 5.81 ms: 1.01x faster
scimark_lu 182 ms 180 ms: 1.01x faster
unpack_sequence 78.9 ns 78.0 ns: 1.01x faster
scimark_sor 191 ms 189 ms: 1.01x faster
json_dumps 20.9 ms 20.7 ms: 1.01x faster
pickle_pure_python 508 us 502 us: 1.01x faster
pickle_dict 49.7 us 49.3 us: 1.01x faster
json_loads 44.2 us 43.8 us: 1.01x faster
pathlib 30.8 ms 30.6 ms: 1.01x faster
richards 78.8 ms 78.3 ms: 1.01x faster
regex_compile 221 ms 220 ms: 1.01x faster
go 224 ms 222 ms: 1.01x faster
python_startup_no_site 10.3 ms 10.3 ms: 1.01x faster
xml_etree_process 92.8 ms 92.4 ms: 1.00x faster
regex_v8 37.3 ms 37.2 ms: 1.00x faster
python_startup 13.9 ms 13.9 ms: 1.00x faster
2to3 412 ms 411 ms: 1.00x faster
fannkuch 643 ms 645 ms: 1.00x slower
scimark_fft 538 ms 540 ms: 1.00x slower
django_template 55.7 ms 56.0 ms: 1.00x slower
dulwich_log 106 ms 106 ms: 1.01x slower
xml_etree_iterparse 163 ms 165 ms: 1.01x slower
sympy_sum 264 ms 266 ms: 1.01x slower
sympy_str 464 ms 468 ms: 1.01x slower
tornado_http 162 ms 164 ms: 1.01x slower
unpickle_list 7.90 us 7.98 us: 1.01x slower
genshi_xml 87.0 ms 88.0 ms: 1.01x slower
logging_simple 9.83 us 9.94 us: 1.01x slower
sympy_integrate 33.6 ms 34.0 ms: 1.01x slower
logging_format 10.7 us 10.8 us: 1.01x slower
chameleon 11.1 ms 11.3 ms: 1.01x slower
sympy_expand 756 ms 767 ms: 1.02x slower
nbody 153 ms 156 ms: 1.02x slower
regex_dna 343 ms 350 ms: 1.02x slower
telco 10.8 ms 11.2 ms: 1.03x slower
nqueens 138 ms 142 ms: 1.03x slower
unpickle 21.8 us 22.6 us: 1.04x slower
scimark_sparse_mat_mult 7.55 ms 7.82 ms: 1.04x slower
regex_effbot 5.09 ms 5.29 ms: 1.04x slower
pidigits 318 ms 348 ms: 1.09x slower
Geometric mean (ref) 1.00x faster

Benchmark hidden because not significant (12): xml_etree_generate, sqlalchemy_imperative, sqlite_synth, meteor_contest, genshi_text, xml_etree_parse, sqlalchemy_declarative, unpickle_pure_python, pickle_list, hexiom, float, html5lib

Copy link

ghost commented May 25, 2022

@markshannon If you don't mind - what are you using to generate this?

@markshannon
Copy link
Author

markshannon commented May 25, 2022

pyperformance to generate the results.
pyperf compare_to --table -G to generate the table

Copy link

ghost commented May 25, 2022

@markshannon Thanks!

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