Changeset View
Changeset View
Standalone View
Standalone View
benchmark.py
Show All 9 Lines | |||||
from pathlib import Path | from pathlib import Path | ||||
import subprocess | import subprocess | ||||
import sys | import sys | ||||
from tempfile import TemporaryDirectory | from tempfile import TemporaryDirectory | ||||
from typing import Set | from typing import Set | ||||
import click | import click | ||||
SEED_OPTIONS = ["-s 10", "-s 20", "-s 30"] | SEED_OPTIONS = ["-s 10"] | ||||
def get_scenario_cmd(algo, kb_url, kb_label, origin_info, extracted_repo_path): | def get_scenario_cmd(algo, kb_url, kb_label, origin_info, extracted_repo_path): | ||||
return [ | return [ | ||||
"swh", | "swh", | ||||
"scanner", | "scanner", | ||||
"benchmark", | "benchmark", | ||||
"--algo", | "--algo", | ||||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |