Skip to content

Commit 286dcb2

Browse files
committed
[Benchmarks] fix label for comput benchmark
1 parent db011cd commit 286dcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/benchmarks/benches/compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def run(self, env_vars) -> list[Result]:
115115
parsed_results = self.parse_output(result)
116116
ret = []
117117
for label, mean, unit in parsed_results:
118-
extra_label = " CPU count" if parse_unit_type(unit) == "CPU count" else ""
118+
extra_label = " CPU count" if parse_unit_type(unit) == "instr" else ""
119119
ret.append(Result(label=self.name() + extra_label, value=mean, command=command, env=env_vars, stdout=result, unit=parse_unit_type(unit)))
120120
return ret
121121

0 commit comments

Comments
 (0)