aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-05-15 14:18:42 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:39:19 +0000
commit3a5a8280a1c079c8cc1161e0abc407c1a62aa068 (patch)
treed71d2a2b8b5e77d6f052399ea8d60457494c6443
parent6b3f1a6107de04bc4f212876db2e3c4c762b044a (diff)
downloadopenembedded-core-3a5a8280a1c079c8cc1161e0abc407c1a62aa068.tar.gz
oe-build-perf-report: use correct x-axis max value in html charts
(From OE-Core rev: 1d99b018c2b6a44b9db2f2ede113e64dae751eee) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rwxr-xr-xscripts/oe-build-perf-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index d460caae18..6f0b84f9ec 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -373,7 +373,7 @@ def print_html_report(data, id_comp):
# Chart options
chart_opts = {'haxis': {'min': get_data_item(data[0][0], 'layers.meta.commit_count'),
- 'max': get_data_item(data[0][0], 'layers.meta.commit_count')}
+ 'max': get_data_item(data[-1][0], 'layers.meta.commit_count')}
}
print(html.template.render(metadata=metadata, test_data=tests, chart_opts=chart_opts))