From 4491f4f77bb1f32af66c0ef55a1602689be1b9bd Mon Sep 17 00:00:00 2001 From: Ninette Adhikari <13760198+ninetteadhikari@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:11:41 +0100 Subject: [PATCH] feat: Add d3 with billboardjs --- .../html/measurement_chart_d3billboard.html | 36 +++++++++++++++++++ scripts/lib/build_perf/html/report.html | 10 +++--- 2 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 scripts/lib/build_perf/html/measurement_chart_d3billboard.html diff --git a/scripts/lib/build_perf/html/measurement_chart_d3billboard.html b/scripts/lib/build_perf/html/measurement_chart_d3billboard.html new file mode 100644 index 00000000000..d04abe3af1d --- /dev/null +++ b/scripts/lib/build_perf/html/measurement_chart_d3billboard.html @@ -0,0 +1,36 @@ + diff --git a/scripts/lib/build_perf/html/report.html b/scripts/lib/build_perf/html/report.html index d1ba6f25788..2fad07d9a33 100644 --- a/scripts/lib/build_perf/html/report.html +++ b/scripts/lib/build_perf/html/report.html @@ -3,18 +3,16 @@
{# Scripts, for visualization#} - - + + + {# Render measurement result charts #} {% for test in test_data %} {% if test.status == 'SUCCESS' %} {% for measurement in test.measurements %} {% set chart_elem_id = test.name + '_' + measurement.name + '_chart' %} - {% include 'measurement_chart.html' %} + {% include 'measurement_chart_d3billboard.html' %} {% endfor %} {% endif %} {% endfor %}