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:45:36 +0100
commite1f84ea82348efb5ed95cafef171e370887c0e31 (patch)
treefaa1bbdad4973a670cf98aa193a59efd9cdd6c79 /scripts/oe-build-perf-report
parent0aafcddab016a1fa0b5aa693f27c19937fe5fafd (diff)
downloadpoky-e1f84ea82348efb5ed95cafef171e370887c0e31.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>
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):
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))