From: Ninette Adhikari <13760198+ninetteadhikari@users.noreply.github.com> Date: Fri, 3 May 2024 14:43:36 +0000 (+0200) Subject: oe-build-perf-report: Add apache echarts to make report interactive X-Git-Tag: uninative-4.5~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c9321832aae79d20a4ddd199a4a1385f81de53;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Alexandre Belloni --- diff --git a/scripts/lib/build_perf/html/measurement_chart.html b/scripts/lib/build_perf/html/measurement_chart.html index 65f1a227adf..ffec3d09dba 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 d1ba6f25788..653fd985bc1 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 %}