Skip to content

Instantly share code, notes, and snippets.

@pablogsal
Created October 19, 2021 18:00
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/8027937b71cd30f17aaaa5ef7c885d3e to your computer and use it in GitHub Desktop.
Save pablogsal/8027937b71cd30f17aaaa5ef7c885d3e to your computer and use it in GitHub Desktop.

❯ pyperf compare_to json/2021-10-19_10-10-master-52af0756b2ff.json.gz json/2021-10-19_17-06-master-5c36c0741d78.json.gz --table --table-format=md -G

Benchmark 2021-10-19_10-10-master-52af0756b2ff 2021-10-19_17-06-master-5c36c0741d78
float 108 ms 99.1 ms: 1.09x faster
spectral_norm 144 ms 133 ms: 1.09x faster
regex_v8 31.0 ms 28.6 ms: 1.08x faster
mako 17.5 ms 16.3 ms: 1.07x faster
regex_dna 275 ms 260 ms: 1.06x faster
scimark_fft 430 ms 407 ms: 1.06x faster
tornado_http 138 ms 131 ms: 1.05x faster
unpickle_pure_python 363 us 346 us: 1.05x faster
pyflate 654 ms 625 ms: 1.05x faster
crypto_pyaes 108 ms 104 ms: 1.04x faster
sqlite_synth 3.27 us 3.14 us: 1.04x faster
unpickle 16.8 us 16.1 us: 1.04x faster
raytrace 423 ms 406 ms: 1.04x faster
dulwich_log 83.6 ms 80.4 ms: 1.04x faster
regex_compile 185 ms 178 ms: 1.04x faster
regex_effbot 3.92 ms 3.78 ms: 1.04x faster
richards 70.1 ms 67.7 ms: 1.03x faster
sqlalchemy_imperative 23.1 ms 22.3 ms: 1.03x faster
json_loads 34.1 us 33.1 us: 1.03x faster
pathlib 20.7 ms 20.1 ms: 1.03x faster
pidigits 245 ms 238 ms: 1.03x faster
sympy_sum 211 ms 206 ms: 1.03x faster
json_dumps 16.6 ms 16.2 ms: 1.02x faster
pickle_pure_python 472 us 461 us: 1.02x faster
xml_etree_iterparse 132 ms 129 ms: 1.02x faster
sympy_integrate 27.3 ms 26.8 ms: 1.02x faster
nqueens 109 ms 107 ms: 1.02x faster
logging_simple 7.73 us 7.60 us: 1.02x faster
logging_format 8.44 us 8.29 us: 1.02x faster
sqlalchemy_declarative 176 ms 173 ms: 1.02x faster
unpickle_list 6.33 us 6.23 us: 1.02x faster
sympy_str 374 ms 368 ms: 1.02x faster
scimark_lu 184 ms 181 ms: 1.02x faster
scimark_monte_carlo 98.3 ms 96.9 ms: 1.01x faster
scimark_sor 188 ms 185 ms: 1.01x faster
chameleon 10.1 ms 9.96 ms: 1.01x faster
xml_etree_generate 110 ms 109 ms: 1.01x faster
sympy_expand 618 ms 612 ms: 1.01x faster
xml_etree_parse 190 ms 188 ms: 1.01x faster
python_startup 11.5 ms 11.4 ms: 1.01x faster
2to3 322 ms 319 ms: 1.01x faster
nbody 139 ms 138 ms: 1.01x faster
python_startup_no_site 8.46 ms 8.42 ms: 1.01x faster
xml_etree_process 80.6 ms 80.2 ms: 1.00x faster
go 210 ms 211 ms: 1.01x slower
deltablue 6.23 ms 6.31 ms: 1.01x slower
pickle_dict 36.5 us 37.0 us: 1.01x slower
pickle_list 5.32 us 5.41 us: 1.02x slower
hexiom 9.41 ms 9.59 ms: 1.02x slower
meteor_contest 131 ms 134 ms: 1.02x slower
scimark_sparse_mat_mult 5.76 ms 5.88 ms: 1.02x slower
telco 7.54 ms 7.76 ms: 1.03x slower
unpack_sequence 55.3 ns 58.0 ns: 1.05x slower
pickle 13.1 us 13.8 us: 1.05x slower
logging_silent 148 ns 156 ns: 1.06x slower
Geometric mean (ref) 1.02x faster

Benchmark hidden because not significant (3): django_template, chaos, fannkuch

@tiran
Copy link

tiran commented Oct 19, 2021

For future reference, this test was run with mimalloc and freelists enabled, pymalloc disabled. Test run https://gist.github.com/pablogsal/33fce1cbe5f908c1d85cae5d678f50a6 has freelists disabled as well.

checking for --with-mimalloc... yes
checking for --with-pymalloc... no
checking for --with-freelists... yes

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