Skip to content

Commit

Permalink
chore(ci): fix parsing for integer benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTDrinker committed Aug 13, 2024
1 parent 665d020 commit cf5dfb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/parse_integer_benches_to_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main(args):
bench_function_id = bench_data["function_id"]

split = bench_function_id.split("::")
if split.len() == 5: # Signed integers
if len(split) == 5: # Signed integers
(_, _, function_name, parameter_set, bits) = split
else: # Unsigned integers
(_, function_name, parameter_set, bits) = split
Expand Down Expand Up @@ -53,7 +53,8 @@ def main(args):
estimate_upper_bound_ms,
)
)
except:
except Exception as e:
print(e)
pass

if len(data) == 0:
Expand Down

0 comments on commit cf5dfb3

Please sign in to comment.