-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compare a matrix of nogil to other upstreams #597
Comments
immortal resultsBenchmarks with tag 'apps':2to3: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 266 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.08x slower Geometric mean: 1.09x slower Benchmarks with tag 'math':float: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 79.4 ms +- 0.9 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 67.0 ms +- 0.4 ms: 1.19x faster Geometric mean: 1.01x faster Benchmarks with tag 'regex':regex_compile: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 143 ms +- 3 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 151 ms +- 1 ms: 1.06x slower Geometric mean: 1.04x slower Benchmarks with tag 'serialize':json_dumps: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 9.74 ms +- 0.09 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 10.5 ms +- 0.3 ms: 1.07x slower Benchmark hidden because not significant (1): xml_etree_generate Geometric mean: 1.02x slower Benchmarks with tag 'startup':python_startup: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 9.04 ms +- 0.01 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 9.33 ms +- 0.01 ms: 1.03x slower Geometric mean: 1.02x slower Benchmarks with tag 'template':genshi_text: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 22.5 ms +- 0.3 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 24.3 ms +- 0.3 ms: 1.08x slower Geometric mean: 1.13x slower All benchmarks:2to3: Mean +- std dev: [bm-20230422-linux-x86_64-python-ea2c0016502472aa8baa-3.12.0a7+-ea2c001] 266 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.08x slower Benchmark hidden because not significant (3): bench_mp_pool, pycparser, xml_etree_generate Geometric mean: 1.05x slower |
gc resultsBenchmarks with tag 'apps':2to3: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 245 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.17x slower Geometric mean: 1.19x slower Benchmarks with tag 'math':float: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 60.7 ms +- 0.5 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 67.0 ms +- 0.4 ms: 1.10x slower Geometric mean: 1.07x slower Benchmarks with tag 'regex':regex_compile: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 131 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 151 ms +- 1 ms: 1.15x slower Benchmark hidden because not significant (1): regex_v8 Geometric mean: 1.05x slower Benchmarks with tag 'serialize':json_dumps: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 9.55 ms +- 0.28 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 10.5 ms +- 0.3 ms: 1.09x slower Geometric mean: 1.14x slower Benchmarks with tag 'startup':python_startup: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 8.24 ms +- 0.01 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 9.33 ms +- 0.01 ms: 1.13x slower Geometric mean: 1.13x slower Benchmarks with tag 'template':genshi_text: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 20.2 ms +- 0.3 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 24.3 ms +- 0.3 ms: 1.20x slower Geometric mean: 1.24x slower All benchmarks:2to3: Mean +- std dev: [bm-20230531-linux-x86_64-mdboom-match_nogil_gc-3.12.0a4-0fd3163] 245 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.17x slower Benchmark hidden because not significant (2): bench_mp_pool, regex_v8 Geometric mean: 1.14x slower |
immortal + gc resultsBenchmarks with tag 'apps':2to3: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 260 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.10x slower Geometric mean: 1.10x slower Benchmarks with tag 'math':float: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 69.2 ms +- 0.7 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 67.0 ms +- 0.4 ms: 1.03x faster Geometric mean: 1.01x slower Benchmarks with tag 'regex':regex_compile: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 146 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 151 ms +- 1 ms: 1.03x slower Geometric mean: 1.03x slower Benchmarks with tag 'serialize':json_dumps: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 9.70 ms +- 0.10 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 10.5 ms +- 0.3 ms: 1.08x slower Benchmark hidden because not significant (1): pickle_dict Geometric mean: 1.08x slower Benchmarks with tag 'startup':python_startup: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 8.83 ms +- 0.01 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 9.33 ms +- 0.01 ms: 1.06x slower Geometric mean: 1.05x slower Benchmarks with tag 'template':genshi_text: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 23.0 ms +- 0.4 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 24.3 ms +- 0.3 ms: 1.06x slower Geometric mean: 1.12x slower All benchmarks:2to3: Mean +- std dev: [bm-20230607-linux-x86_64-mdboom-match_nogil_immortal-3.12.0a7+-82b39b9] 260 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.10x slower Benchmark hidden because not significant (3): bench_mp_pool, pickle_dict, scimark_sor Geometric mean: 1.10x slower |
merge base resultsBenchmarks with tag 'apps':2to3: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 253 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.13x slower Geometric mean: 1.16x slower Benchmarks with tag 'math':float: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 72.2 ms +- 0.9 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 67.0 ms +- 0.4 ms: 1.08x faster Geometric mean: 1.00x faster Benchmarks with tag 'regex':regex_compile: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 132 ms +- 4 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 151 ms +- 1 ms: 1.15x slower Geometric mean: 1.06x slower Benchmarks with tag 'serialize':json_dumps: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 9.54 ms +- 0.32 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 10.5 ms +- 0.3 ms: 1.10x slower Benchmark hidden because not significant (1): pickle_dict Geometric mean: 1.08x slower Benchmarks with tag 'startup':python_startup: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 8.54 ms +- 0.01 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 9.33 ms +- 0.01 ms: 1.09x slower Geometric mean: 1.10x slower Benchmarks with tag 'template':genshi_text: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 20.8 ms +- 0.3 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 24.3 ms +- 0.3 ms: 1.17x slower Geometric mean: 1.22x slower All benchmarks:2to3: Mean +- std dev: [bm-20230110-linux-x86_64-python-3d5d3f7af6498effbc60-3.12.0a4-3d5d3f7] 253 ms +- 1 ms -> [bm-20230427-linux-x86_64-mdboom-nogil_d595911-3.12.0a4-d595911] 287 ms +- 1 ms: 1.13x slower Benchmark hidden because not significant (2): bench_mp_pool, pickle_dict Geometric mean: 1.09x slower |
In the PEP 703 update thread on discuss, @colesbury suggested a few things to measure and compare.
In addition, the Faster CPython feels that:
Therefore, this issue is a place to report comparisons of a recent nogil commit (d595911) against:
Summary of results:
EDIT 2023-06-07T21:00: Updated summary table to include both
pyperf compare_to
and distribution plot results. Added a new target immortal-gc.The text was updated successfully, but these errors were encountered: