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-11-05 22:39:19 +0000 |
commit | 3a5a8280a1c079c8cc1161e0abc407c1a62aa068 (patch) | |
tree | d71d2a2b8b5e77d6f052399ea8d60457494c6443 | |
parent | 6b3f1a6107de04bc4f212876db2e3c4c762b044a (diff) | |
download | openembedded-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-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)) |