From 5ce2b7d0622011a3a9036e21d68b986257944b2f Mon Sep 17 00:00:00 2001 From: Ninette Adhikari <13760198+ninetteadhikari@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:32:59 +0200 Subject: oe-build-perf-report: Add apache echarts to make report interactive - Add Apache echarts (https://echarts.apache.org/en/index.html) library to create build performance charts. - Restructure data to time and value array format so that it can be used by echarts. - This commit also converts test duration to minutes to map against the values axis. - Zoom is added to the line charts. (From OE-Core rev: f1736f3f0e61d4042b18a2dbee9ca9be05962e6c) Signed-off-by: Ninette Adhikari Signed-off-by: Richard Purdie --- scripts/lib/build_perf/html/measurement_chart.html | 116 +++++++++++++-------- scripts/lib/build_perf/html/report.html | 6 +- 2 files changed, 72 insertions(+), 50 deletions(-) (limited to 'scripts') diff --git a/scripts/lib/build_perf/html/measurement_chart.html b/scripts/lib/build_perf/html/measurement_chart.html index 65f1a227ad..ffec3d09db 100644 --- a/scripts/lib/build_perf/html/measurement_chart.html +++ b/scripts/lib/build_perf/html/measurement_chart.html @@ -1,50 +1,76 @@ - diff --git a/scripts/lib/build_perf/html/report.html b/scripts/lib/build_perf/html/report.html index d1ba6f2578..653fd985bc 100644 --- a/scripts/lib/build_perf/html/report.html +++ b/scripts/lib/build_perf/html/report.html @@ -3,11 +3,7 @@ {# Scripts, for visualization#} - - + {# Render measurement result charts #} {% for test in test_data %} -- cgit v1.2.3-54-g00ecf