diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-06-14 19:59:45 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-06-14 19:59:45 -0400 |
commit | 2cf1981a06ac597aacf826b56db0d50a2ee0ea0b (patch) | |
tree | a6fbc292a69fabc592a14a271a0c08576e7a62b9 /lab | |
parent | 2fb47c6b2d936118657f6b217dbd152ba70cf98c (diff) | |
download | python-coveragepy-git-2cf1981a06ac597aacf826b56db0d50a2ee0ea0b.tar.gz |
test(benchmark): compare gh93818 to 3.11
Diffstat (limited to 'lab')
-rw-r--r-- | lab/benchmark.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lab/benchmark.py b/lab/benchmark.py index a4583be2..8eb9a9e9 100644 --- a/lab/benchmark.py +++ b/lab/benchmark.py @@ -453,6 +453,29 @@ with change_dir(PERF_DIR): exp = Experiment( py_versions=[ Python(3, 11), + AdHocPython("/usr/local/cpython", "gh93818"), + ], + cov_versions=[ + Coverage("6.4.1", "coverage==6.4.1"), + ], + projects=[ + AdHocProject("/src/bugs/bug1339/bug1339.py"), + SlipcoverBenchmark("bm_sudoku.py"), + SlipcoverBenchmark("bm_spectral_norm.py"), + ], + ) + exp.run(num_runs=3) + exp.show_results( + rows=["cov", "proj"], + column="pyver", + ratios=[ + ("93818 vs 3.11", "gh93818", "python3.11"), + ], + ) + if 0: + exp = Experiment( + py_versions=[ + Python(3, 11), ], cov_versions=[ CoverageCommit("0b749007"), |