We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26546de commit 0c04adfCopy full SHA for 0c04adf
codeflash/benchmarking/utils.py
@@ -29,7 +29,7 @@ def validate_and_format_benchmark_table(function_benchmark_timings: dict[str, di
29
# If the function time is greater than total time, likely to have multithreading / multiprocessing issues.
30
# Do not try to project the optimization impact for this function.
31
sorted_tests.append((benchmark_key, 0.0, 0.0, 0.0))
32
- if total_time > 0:
+ elif total_time > 0:
33
percentage = (func_time / total_time) * 100
34
# Convert nanoseconds to milliseconds
35
func_time_ms = func_time / 1_000_000
0 commit comments