Skip to content

Commit 2cf1981

Browse files
committed
test(benchmark): compare gh93818 to 3.11
1 parent 2fb47c6 commit 2cf1981

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

lab/benchmark.py

+23
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,29 @@ def as_table_row(vals):
450450
with change_dir(PERF_DIR):
451451

452452
if 1:
453+
exp = Experiment(
454+
py_versions=[
455+
Python(3, 11),
456+
AdHocPython("/usr/local/cpython", "gh93818"),
457+
],
458+
cov_versions=[
459+
Coverage("6.4.1", "coverage==6.4.1"),
460+
],
461+
projects=[
462+
AdHocProject("/src/bugs/bug1339/bug1339.py"),
463+
SlipcoverBenchmark("bm_sudoku.py"),
464+
SlipcoverBenchmark("bm_spectral_norm.py"),
465+
],
466+
)
467+
exp.run(num_runs=3)
468+
exp.show_results(
469+
rows=["cov", "proj"],
470+
column="pyver",
471+
ratios=[
472+
("93818 vs 3.11", "gh93818", "python3.11"),
473+
],
474+
)
475+
if 0:
453476
exp = Experiment(
454477
py_versions=[
455478
Python(3, 11),

0 commit comments

Comments
 (0)