mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
committed by
GitHub
parent
0ce45af043
commit
f52aa4b0aa
@@ -247,10 +247,13 @@ def compare_benches(ref_benches, cmp_benches, threshold, plot):
|
||||
status = Fore.YELLOW + "????" + Fore.RESET
|
||||
elif abs(frac_diff) <= min_noise:
|
||||
pass_count += 1
|
||||
status = Fore.GREEN + "PASS" + Fore.RESET
|
||||
status = Fore.BLUE + "SAME" + Fore.RESET
|
||||
elif diff < 0:
|
||||
failure_count += 1
|
||||
status = Fore.GREEN + "FAST" + Fore.RESET
|
||||
else:
|
||||
failure_count += 1
|
||||
status = Fore.RED + "FAIL" + Fore.RESET
|
||||
status = Fore.RED + "SLOW" + Fore.RESET
|
||||
|
||||
if abs(frac_diff) >= threshold:
|
||||
row.append(format_duration(ref_time))
|
||||
|
||||
Reference in New Issue
Block a user