Merge pull request 'asv runners have the same machine name now' (#388) from mngrif-asv-test into master

Reviewed-on: cleveragents/cleveragents-core#388
Reviewed-by: Brent Edwards <brent.edwards@cleverthis.com>
This commit is contained in:
2026-02-24 21:51:41 +00:00
committed by Forgejo
+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",