Skip to content
Snippets Groups Projects
Commit 957d0a37 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix plot filtering

parent e3335bd7
No related branches found
No related tags found
1 merge request!11Add batch approach for matrix multiplication
Pipeline #83973 failed
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
...@@ -22,7 +22,7 @@ def read_and_combine_json(files, filter): ...@@ -22,7 +22,7 @@ def read_and_combine_json(files, filter):
result_obj = json.load(f_stream) result_obj = json.load(f_stream)
results_normalized = result_obj["benchmarks"] results_normalized = result_obj["benchmarks"]
for result_normalized in results_normalized: for result_normalized in results_normalized:
if filter and filter not in result_normalized["name"]: if filter and not result_normalized["name"].split['/'][1].startswith(filter):
continue continue
result_normalized["context"] = result_obj["context"] result_normalized["context"] = result_obj["context"]
result_normalized["compiler_version"], result_normalized["architecture"] = basename.replace("results-", "").replace(".json", "").split("-") result_normalized["compiler_version"], result_normalized["architecture"] = basename.replace("results-", "").replace(".json", "").split("-")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment