Skip to content

Commit 68fb7f6

Browse files
Print old benchmark too
1 parent 2457847 commit 68fb7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/csv_to_md.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def get_emoji(t):
4141
total_time = mean * (count // args.runs)
4242
d, s, t = student(baseline_mean, baseline_stdev, args.runs, mean, stdev, args.runs)
4343
emoji = get_emoji(t)
44-
table.append([name, int(total_time), int(mean), f'{stdev:.2f}', f'{d:.2f}', f'{t:.2f}', emoji])
44+
table.append([name, int(total_time), int(mean), f'{stdev:.2f}', int(baseline_mean), f'{baseline_stdev:.2f}', f'{d:.2f}', f'{t:.2f}', emoji])
4545

46-
header = ['name', 'total time (\u03BCs)', 'mean (\u03BCs)', 'stdev \u03C3', 'diff \u0394', 't', '']
46+
header = ['name', 'total time (\u03BCs)', 'mean (\u03BCs)', 'stdev \u03C3', 'mean (old)', 'stdev (old)', 'diff \u0394', 't', '']
4747
print(tab.tabulate(table, header, tablefmt="github"))

0 commit comments

Comments
 (0)