summaryrefslogtreecommitdiff
path: root/lab
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-06-14 19:59:45 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-06-14 19:59:45 -0400
commit2cf1981a06ac597aacf826b56db0d50a2ee0ea0b (patch)
treea6fbc292a69fabc592a14a271a0c08576e7a62b9 /lab
parent2fb47c6b2d936118657f6b217dbd152ba70cf98c (diff)
downloadpython-coveragepy-git-2cf1981a06ac597aacf826b56db0d50a2ee0ea0b.tar.gz
test(benchmark): compare gh93818 to 3.11
Diffstat (limited to 'lab')
-rw-r--r--lab/benchmark.py23
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"),