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 e323810 commit f750610Copy full SHA for f750610
libcxx/utils/compare-benchmarks
@@ -72,7 +72,7 @@ def plain_text_comparison(data, metric, baseline_name=None, candidate_name=None)
72
geomean_0 = statistics.geometric_mean(data[f'{metric}_0'].dropna())
73
geomean_1 = statistics.geometric_mean(data[f'{metric}_1'].dropna())
74
geomean_row = ['Geomean', geomean_0, geomean_1, (geomean_1 - geomean_0), (geomean_1 - geomean_0) / geomean_0]
75
- table.loc[table.index.max()] = geomean_row
+ table.loc[table.index.max() + 1] = geomean_row
76
77
return tabulate.tabulate(table.set_index('benchmark'), headers=headers, floatfmt=fmt, numalign='right')
78
0 commit comments