Skip to content

Commit

Permalink
chore(ci): fix browser identification on wasm benchmarks
Browse files Browse the repository at this point in the history
Rust script wasn't able to parse results if the browser name was
suffixed after parameters name.
  • Loading branch information
soonum committed Oct 9, 2024
1 parent 4518823 commit 43e697c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ def dump_benchmark_results(results, browser_kind):
"""
if results:
results = {
"_".join((key, browser_kind.name)): val for key, val in results.items()
key.replace("mean", "_".join((browser_kind.name, "mean"))): val
for key, val in results.items()
}
pathlib.Path("tfhe/wasm_benchmark_results.json").write_text(json.dumps(results))

Expand Down

0 comments on commit 43e697c

Please sign in to comment.