asv runners have the same machine name now #388

Merged
mngrif merged 6 commits from mngrif-asv-test into master 2026-02-24 21:51:41 +00:00
+24 -2
View File
@@ -701,10 +701,21 @@ def benchmark(session: nox.Session):
"""Run Airspeed Velocity benchmarks and publish results."""
session.install("-e", ".[tests]")
config_path = "asv.conf.json"
session.run("asv", "machine", "--yes", f"--config={config_path}")
session.run(
"asv",
"machine",
"--machine=forgejo-runner",
"--os=Linux_6.x",
"--arch=x86_64",
"--num_cpu=32",
"--ram=32GB",
"--cpu=AMD",
f"--config={config_path}",
)
session.run(
"asv",
"run",
"--machine=forgejo-runner",
"--append-samples",
"--show-stderr",
"--verbose",
@@ -720,10 +731,21 @@ def benchmark_regression(session: nox.Session):
session.install("-e", ".[tests]")
config_path = "asv.conf.json"
asv_base_sha = os.environ.get("ASV_BASE_SHA")
session.run("asv", "machine", "--yes", f"--config={config_path}")
session.run(
"asv",
"machine",
"--machine=forgejo-runner",
"--os=Linux_6.x",
"--arch=x86_64",
"--num_cpu=32",
"--ram=32GB",
"--cpu=AMD",
f"--config={config_path}",
)
session.run(
"asv",
"continuous",
"--machine=forgejo-runner",
"--append-samples",
"--show-stderr",
"--verbose",