[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5963/8267] oe-build-perf-report: use correct x-axis max value in html charts
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5963/8267] oe-build-perf-report: use correct x-axis max value in html charts
- Date: Sun, 17 Dec 2017 04:10:36 +0000 (UTC)
commit e1f84ea82348efb5ed95cafef171e370887c0e31
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date: Mon May 15 14:18:42 2017 +0300
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>
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 d460caa..6f0b84f 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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]