Skip to content

Commit 99fa00b

Browse files
pbalcerkbenzie
authored andcommitted
add manually triggered benchmark action (#17088)
This is a first step towards reenabling UR performance testing CI. This introduces the reusable yml workflow and a way to trigger it manually. Here's an example how it looks: pbalcer/llvm#2 (comment)
1 parent cf84b75 commit 99fa00b

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

scripts/benchmarks/benches/oneapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class OneAPI:
1313
# random unique number for benchmark oneAPI installation
14-
ONEAPI_BENCHMARK_INSTANCE_ID = 98765
14+
ONEAPI_BENCHMARK_INSTANCE_ID = 987654
1515

1616
def __init__(self):
1717
self.oneapi_dir = os.path.join(options.workdir, "oneapi")

scripts/benchmarks/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,7 @@ def main(directory, additional_env_vars, save_name, compare_names, filter):
262262
compare_names.append(saved_name)
263263

264264
if options.output_html:
265-
html_content = generate_html(
266-
history.runs, "oneapi-src/unified-runtime", compare_names
267-
)
265+
html_content = generate_html(history.runs, "intel/llvm", compare_names)
268266

269267
with open("benchmark_results.html", "w") as file:
270268
file.write(html_content)

scripts/benchmarks/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Options:
3737
build_compute_runtime: bool = False
3838
extra_ld_libraries: list[str] = field(default_factory=list)
3939
extra_env_vars: dict = field(default_factory=dict)
40-
compute_runtime_tag: str = "24.52.32224.10"
40+
compute_runtime_tag: str = "25.05.32567.12"
4141
build_igc: bool = False
4242
current_run_name: str = "This PR"
4343

scripts/benchmarks/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
matplotlib==3.9.2
2+
mpld3==0.5.10
3+
dataclasses-json==0.6.7
4+
PyYAML==6.0.1

0 commit comments

Comments
 (0)