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:47 +0000 |
commit | 65c54c2700bddeda7321c06260090a9d04933f98 (patch) | |
tree | 2d44805bc63023c3357fa651fda5de55c9fdc3bb | |
parent | eff8629de1fb096e2fb22de047902a38872301b2 (diff) | |
download | poky-65c54c2700bddeda7321c06260090a9d04933f98.tar.gz |
oe-build-perf-report: use correct x-axis max value in html charts
(From OE-Core rev: 1d99b018c2b6a44b9db2f2ede113e64dae751eee)
(From OE-Core rev: 3a5a8280a1c079c8cc1161e0abc407c1a62aa068)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): | |||
373 | 373 | ||
374 | # Chart options | 374 | # Chart options |
375 | chart_opts = {'haxis': {'min': get_data_item(data[0][0], 'layers.meta.commit_count'), | 375 | chart_opts = {'haxis': {'min': get_data_item(data[0][0], 'layers.meta.commit_count'), |
376 | 'max': get_data_item(data[0][0], 'layers.meta.commit_count')} | 376 | 'max': get_data_item(data[-1][0], 'layers.meta.commit_count')} |
377 | } | 377 | } |
378 | 378 | ||
379 | print(html.template.render(metadata=metadata, test_data=tests, chart_opts=chart_opts)) | 379 | print(html.template.render(metadata=metadata, test_data=tests, chart_opts=chart_opts)) |