Skip to content

Instantly share code, notes, and snippets.

@itamaro
Last active March 20, 2023 23:10
Show Gist options
  • Save itamaro/106f100fc7753ac1960c696893fb2b47 to your computer and use it in GitHub Desktop.
Save itamaro/106f100fc7753ac1960c696893fb2b47 to your computer and use it in GitHub Desktop.
pyperformance results for cpython gh-102853 (eager tasks factory)

Benchmarks with tag 'apps':

Benchmark baseline_20230316.2 eagertasks_20230316.2
2to3 579 ms 581 ms: 1.00x slower
Geometric mean (ref) 1.00x faster

Benchmark hidden because not significant (4): chameleon, docutils, html5lib, tornado_http

Benchmarks with tag 'math':

Benchmark baseline_20230316.2 eagertasks_20230316.2
float 162 ms 161 ms: 1.01x faster
nbody 175 ms 181 ms: 1.04x slower
pidigits 408 ms 410 ms: 1.00x slower
Geometric mean (ref) 1.01x slower

Benchmarks with tag 'regex':

Benchmark baseline_20230316.2 eagertasks_20230316.2
regex_compile 298 ms 304 ms: 1.02x slower
regex_dna 396 ms 375 ms: 1.06x faster
regex_effbot 6.76 ms 6.50 ms: 1.04x faster
regex_v8 46.8 ms 45.5 ms: 1.03x faster
Geometric mean (ref) 1.03x faster

Benchmarks with tag 'serialize':

Benchmark baseline_20230316.2 eagertasks_20230316.2
json_dumps 21.4 ms 21.1 ms: 1.01x faster
json_loads 55.2 us 54.6 us: 1.01x faster
pickle 24.6 us 24.1 us: 1.02x faster
pickle_list 8.45 us 8.95 us: 1.06x slower
pickle_pure_python 633 us 641 us: 1.01x slower
unpickle_list 10.9 us 10.8 us: 1.01x faster
unpickle_pure_python 455 us 450 us: 1.01x faster
xml_etree_iterparse 217 ms 216 ms: 1.01x faster
xml_etree_generate 190 ms 192 ms: 1.01x slower
xml_etree_process 129 ms 130 ms: 1.01x slower
Geometric mean (ref) 1.00x slower

Benchmark hidden because not significant (3): pickle_dict, unpickle, xml_etree_parse

Benchmarks with tag 'startup':

Benchmark baseline_20230316.2 eagertasks_20230316.2
python_startup 19.7 ms 19.7 ms: 1.00x faster
Geometric mean (ref) 1.00x slower

Benchmark hidden because not significant (1): python_startup_no_site

Benchmarks with tag 'template':

Benchmark baseline_20230316.2 eagertasks_20230316.2
django_template 78.1 ms 76.5 ms: 1.02x faster
genshi_text 46.9 ms 45.4 ms: 1.03x faster
mako 22.1 ms 21.8 ms: 1.01x faster
Geometric mean (ref) 1.02x faster

Benchmark hidden because not significant (1): genshi_xml

All benchmarks:

Benchmark baseline_20230316.2 eagertasks_20230316.2
2to3 579 ms 581 ms: 1.00x slower
async_tree_none 1.05 sec 704 ms: 1.49x faster
async_tree_cpu_io_mixed 1.58 sec 1.36 sec: 1.16x faster
async_tree_io 2.30 sec 2.27 sec: 1.01x faster
async_tree_memoization 1.20 sec 1.09 sec: 1.10x faster
chaos 141 ms 140 ms: 1.01x faster
bench_mp_pool 21.0 ms 13.6 ms: 1.55x faster
coroutines 52.3 ms 53.8 ms: 1.03x slower
crypto_pyaes 159 ms 167 ms: 1.05x slower
deepcopy 766 us 771 us: 1.01x slower
deepcopy_reduce 6.82 us 6.67 us: 1.02x faster
deepcopy_memo 80.0 us 79.2 us: 1.01x faster
deltablue 7.20 ms 7.10 ms: 1.01x faster
django_template 78.1 ms 76.5 ms: 1.02x faster
dulwich_log 175 ms 177 ms: 1.01x slower
fannkuch 796 ms 785 ms: 1.01x faster
float 162 ms 161 ms: 1.01x faster
generators 70.8 ms 70.3 ms: 1.01x faster
genshi_text 46.9 ms 45.4 ms: 1.03x faster
go 306 ms 300 ms: 1.02x faster
hexiom 13.3 ms 13.4 ms: 1.01x slower
json_dumps 21.4 ms 21.1 ms: 1.01x faster
json_loads 55.2 us 54.6 us: 1.01x faster
logging_silent 211 ns 222 ns: 1.05x slower
logging_simple 14.1 us 13.9 us: 1.02x faster
mako 22.1 ms 21.8 ms: 1.01x faster
mdp 5.43 sec 5.84 sec: 1.07x slower
meteor_contest 223 ms 224 ms: 1.01x slower
nbody 175 ms 181 ms: 1.04x slower
nqueens 172 ms 179 ms: 1.04x slower
pathlib 36.9 ms 38.0 ms: 1.03x slower
pickle 24.6 us 24.1 us: 1.02x faster
pickle_list 8.45 us 8.95 us: 1.06x slower
pickle_pure_python 633 us 641 us: 1.01x slower
pidigits 408 ms 410 ms: 1.00x slower
pprint_safe_repr 1.58 sec 1.56 sec: 1.01x faster
pprint_pformat 3.25 sec 3.17 sec: 1.03x faster
python_startup 19.7 ms 19.7 ms: 1.00x faster
raytrace 619 ms 623 ms: 1.01x slower
regex_compile 298 ms 304 ms: 1.02x slower
regex_dna 396 ms 375 ms: 1.06x faster
regex_effbot 6.76 ms 6.50 ms: 1.04x faster
regex_v8 46.8 ms 45.5 ms: 1.03x faster
richards 95.4 ms 96.4 ms: 1.01x slower
scimark_fft 618 ms 626 ms: 1.01x slower
scimark_lu 235 ms 241 ms: 1.03x slower
sqlglot_parse 3.26 ms 3.20 ms: 1.02x faster
sqlite_synth 4.76 us 4.69 us: 1.01x faster
sympy_integrate 48.2 ms 47.9 ms: 1.00x faster
sympy_sum 410 ms 408 ms: 1.01x faster
sympy_str 681 ms 678 ms: 1.00x faster
telco 13.2 ms 13.1 ms: 1.01x faster
unpack_sequence 93.1 ns 97.7 ns: 1.05x slower
unpickle_list 10.9 us 10.8 us: 1.01x faster
unpickle_pure_python 455 us 450 us: 1.01x faster
xml_etree_iterparse 217 ms 216 ms: 1.01x faster
xml_etree_generate 190 ms 192 ms: 1.01x slower
xml_etree_process 129 ms 130 ms: 1.01x slower
Geometric mean (ref) 1.01x faster

Benchmark hidden because not significant (22): async_generators, chameleon, bench_thread_pool, coverage, docutils, genshi_xml, html5lib, logging_format, pickle_dict, pyflate, python_startup_no_site, scimark_monte_carlo, scimark_sor, scimark_sparse_mat_mult, spectral_norm, sqlglot_transpile, sqlglot_optimize, sqlglot_normalize, sympy_expand, tornado_http, unpickle, xml_etree_parse

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