diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-05-15 14:18:42 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-23 17:44:00 +0100 |
commit | 1d99b018c2b6a44b9db2f2ede113e64dae751eee (patch) | |
tree | 53ad1521f84b9bc3d902809219c4a4733534f988 | |
parent | f5b420c7f07a008c11d492b055c7cc8869f644d3 (diff) | |
download | openembedded-core-1d99b018c2b6a44b9db2f2ede113e64dae751eee.tar.gz openembedded-core-1d99b018c2b6a44b9db2f2ede113e64dae751eee.tar.bz2 openembedded-core-1d99b018c2b6a44b9db2f2ede113e64dae751eee.zip |
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>
-rwxr-xr-x | scripts/oe-build-perf-report | 2 |
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)) |