Skip to content

Commit dc4f0c1

Browse files
committed
test(perf): more experiments for #1527
1 parent b3b05bd commit dc4f0c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: lab/benchmark.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ def __init__(self):
123123
if self.git_url:
124124
self.slug = self.git_url.split("/")[-1]
125125

126+
def shell(self):
127+
return ShellSession(f"output_{self.slug}.log")
128+
126129
def make_dir(self):
127130
self.dir = Path(f"work_{self.slug}")
128131
if self.dir.exists():
@@ -421,7 +424,7 @@ def run(self, num_runs: int = 3) -> None:
421424

422425
for proj in self.projects:
423426
print(f"Testing with {proj.slug}")
424-
with ShellSession(f"output_{proj.slug}.log") as shell:
427+
with proj.shell() as shell:
425428
proj.make_dir()
426429
proj.get_source(shell)
427430

@@ -570,6 +573,7 @@ def run_experiment(
570573
if 1:
571574
run_experiment(
572575
py_versions=[
576+
Python(3, 9),
573577
Python(3, 11),
574578
],
575579
cov_versions=[

0 commit comments

Comments
 (0)