From 9b84e67054a010f54c75dd528d551e9d8bd2d516 Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Mon, 31 Aug 2015 13:08:34 +0300 Subject: stats/gen_report: fix the trend report when using frametimes --- stats/gen_report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stats/gen_report.py b/stats/gen_report.py index 1573ffd..83a429c 100755 --- a/stats/gen_report.py +++ b/stats/gen_report.py @@ -53,13 +53,13 @@ plt.xlabel('Commits') plt.ylabel('Perf. diff. with the first commit (%)') plt.grid(True) -data = getResultsGeomDiffs(report.commits) +data = getResultsGeomDiffs(report.commits, args.frametime) x_val = [x[0] for x in data] y_val = [x[1] for x in data] plt.plot(x_val, y_val, label="Geometric mean") for i in range(len(report.benchmarks)): - data = getResultsBenchmarkDiffs(report.commits, report.benchmarks[i]) + data = getResultsBenchmarkDiffs(report.commits, report.benchmarks[i], args.frametime) x_val = [x[0] for x in data] y_val = [x[1] for x in data] -- cgit v1.2.3