From 46eb839b51bb1466a9feeb09c9c437d6d45576cc Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 15 Sep 2017 16:04:40 +0300 Subject: scripts/oe-build-perf-report: show recipe version changes in html report If buildstats are available (for a certain measurement), show recipe version changes between the two builds that are being compared. The information shown includes new and dropped recipes as well as changes in recipe version, revision or epoch. [YOCTO #11382] Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- scripts/lib/build_perf/html/report.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'scripts/lib/build_perf') diff --git a/scripts/lib/build_perf/html/report.html b/scripts/lib/build_perf/html/report.html index e56186c958..291ad9d721 100644 --- a/scripts/lib/build_perf/html/report.html +++ b/scripts/lib/build_perf/html/report.html @@ -250,6 +250,26 @@ h3 { + + {# Recipe version differences #} + {% if measurement.buildstats.ver_diff %} +
Recipe version changes
+ + {% for head, recipes in measurement.buildstats.ver_diff.items() %} + + + + {% for name, info in recipes|sort %} + + + + + {% endfor %} + {% endfor %} +
{{ head }}
{{ name }}{{ info }}
+ {% else %} +
No recipe version changes detected
+ {% endif %} {% endif %} {% endfor %} -- cgit v1.2.3