summaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-report
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-05-23 17:44:00 +0100
commit1d99b018c2b6a44b9db2f2ede113e64dae751eee (patch)
tree53ad1521f84b9bc3d902809219c4a4733534f988 /scripts/oe-build-perf-report
parentf5b420c7f07a008c11d492b055c7cc8869f644d3 (diff)
downloadopenembedded-core-1d99b018c2b6a44b9db2f2ede113e64dae751eee.tar.gz
oe-build-perf-report: use correct x-axis max value in html charts
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/oe-build-perf-report')
-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))