We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3b05bd commit dc4f0c1Copy full SHA for dc4f0c1
lab/benchmark.py
@@ -123,6 +123,9 @@ def __init__(self):
123
if self.git_url:
124
self.slug = self.git_url.split("/")[-1]
125
126
+ def shell(self):
127
+ return ShellSession(f"output_{self.slug}.log")
128
+
129
def make_dir(self):
130
self.dir = Path(f"work_{self.slug}")
131
if self.dir.exists():
@@ -421,7 +424,7 @@ def run(self, num_runs: int = 3) -> None:
421
424
422
425
for proj in self.projects:
423
426
print(f"Testing with {proj.slug}")
- with ShellSession(f"output_{proj.slug}.log") as shell:
427
+ with proj.shell() as shell:
428
proj.make_dir()
429
proj.get_source(shell)
430
@@ -570,6 +573,7 @@ def run_experiment(
570
573
if 1:
571
574
run_experiment(
572
575
py_versions=[
576
+ Python(3, 9),
577
Python(3, 11),
578
],
579
cov_versions=[
0 commit comments