From patchwork Wed Jan 28 12:57:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alba_Herrer=C3=ADas?= X-Patchwork-Id: 79925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55263D25B59 for ; Wed, 28 Jan 2026 12:59:32 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.12581.1769605118769252138 for ; Wed, 28 Jan 2026 04:58:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@thehoodiefirm-com.20230601.gappssmtp.com header.s=20230601 header.b=Gx0bO/lt; spf=neutral (domain: thehoodiefirm.com, ip: 209.85.128.51, mailfrom: alba@thehoodiefirm.com) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-47ee937ecf2so8482105e9.0 for ; Wed, 28 Jan 2026 04:58:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thehoodiefirm-com.20230601.gappssmtp.com; s=20230601; t=1769605117; x=1770209917; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=kqBZSwRAkB8SGkd0FskrTityMyV+AEixyxHJsva50rQ=; b=Gx0bO/ltwXKfou/Ia965Dux8Pi/PE55UjwNbsXd9XPmgLvrb1pWpIbV9cJBhcgFsFR +y0JtXBfR9g5yO+EpTLf2a0n7GLejIheAgtBK7eS6dgO5HC5qXWLrojZyyKKkAtQPe8p 311tyFFs4vXvXWGcuz+IYMJyqkcjllZNge4dTajaVXLnQRRR4kynNd6/LJ2cFipDSVtU XDM+ULu8X6YCzzW8xDPcV86Bf4i4MkQT8ngo0ff9d2eJ9trM0tNdqk/PuAlbsxh4nifI ZlrvFVpvtTpjWwGyOSwho7QJVp4Q+gkrSVYAfb0D7hFBByjt0fvjJfSOoz3BXRA9nkMp 9ocw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769605117; x=1770209917; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kqBZSwRAkB8SGkd0FskrTityMyV+AEixyxHJsva50rQ=; b=ZPrf3UM5Otf2S5ns8tsyhYKhhPJa7O9bkNGXZxmz/fwqa0Tub+anW4dy+UuPFP1L0R P+XsefRaef9GQoBEbzMijXydLyxoMxDm2EYb1psZc4Xl3LH6bREOjcQ0IlWe4mM0RNo9 0MYsGZluu65xuQvtFp92jN8ct6TUeAZZ6QZKbv//8/2gkpyoPyQAdzq+/A7kHOn3sNUt icNcnmQ66V/yq4E7j48DgsXR/csYXOrzSDlr0G8ZRIbgvHAi4yNwgSCrvA5mcTWswevV EZWXg2zxIuVgklxDBJroUJIqPcQonyE6/Fd79NkDrYmwb/kDu/1E6pFuHB9Qu2fGhASC Jt4g== X-Gm-Message-State: AOJu0YyLVNjrwE2SyUxX9RS56YWOtUQ3y1oH35QoZTYRzxqSUPYxs0hl 8XW33pI9N1vxZpOTOoHNRkSrZnlqIBQAKlv+fU7b6K1f7k0Fih9jQBRRyHpE3XbwEYgzILE98sK G9XvO/k0= X-Gm-Gg: AZuq6aKA+JeglYP7Skc8dsV+YxYSQKhgZYMF48UMjHinrxK9QSRaiyZpCfegCqbWC1u eFVt3VaYKSPewJXs+R2Lkw3ladhrIxjdDEkP691Oae/U8+ek08rDOT2MlvDUxnwitoPqm4dXpNh a4f48J8aFhKI5GnXWQYRqkLYfMByPdYzx7iz1krnmD0mxaKMsVEbZQq9jdEpb3tT0pbnh5LK+4n 5gJvajZENsl7n8wqKa/VMi4VbEoWwnFxtMh5hEsZO2vv2py4EEN4A/FDDcDlXfLzeShNMi9wBg+ G9U5v8vYrZrf3UsEI5m8s3K6e7Es13We+/GXX7jSF4mxCvXvjCWJAqLfaOz/UK3AwdyErlDE76X KKh+qvCGYTEsGQEVa4Lyhucqe1Bf/JM66g0rj3H/RhLkfhaTeAZ2XmlUvywuI7RXQWxnFA5VOBJ zUarxRXnHIFpe2WQkNbpqikaVTHL5RFkRTzewGLnTKLCnz4weUhkrk2Iz87HhOTGKSgGNSVS64n gjzo0AvglOZ4u7bMekAfdzMpw== X-Received: by 2002:a05:600c:608e:b0:477:9e0c:f59 with SMTP id 5b1f17b1804b1-48069e24017mr64742955e9.2.1769605116507; Wed, 28 Jan 2026 04:58:36 -0800 (PST) Received: from localhost.localdomain (253.red-83-57-139.dynamicip.rima-tde.net. [83.57.139.253]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4806cde00e8sm64744475e9.6.2026.01.28.04.58.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 28 Jan 2026 04:58:36 -0800 (PST) Sender: =?utf-8?q?Alba_Herrer=C3=ADas_Ram=C3=ADrez?= From: =?utf-8?q?Alba_Herrer=C3=ADas?= X-Google-Original-From: Alba Herrerias To: openembedded-core@lists.openembedded.org Cc: engineering@neighbourhood.ie, Alex Feyerke Subject: [PATCH 1/1] build_perf: add commit annotations Date: Wed, 28 Jan 2026 12:57:45 +0000 Message-Id: <20260128125745.58440-2-albaherreriasdev@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20260128125745.58440-1-albaherreriasdev@gmail.com> References: <20260128125745.58440-1-albaherreriasdev@gmail.com> Reply-To: engineering@neighbourhood.ie MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 28 Jan 2026 12:59:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/230093 From: Alex Feyerke Also: refactoring and simplification of html rendering, esp. wrt. charts. Signed-off-by: Alex Feyerke --- .../build_perf/html/measurement_chart.html | 168 ------------- scripts/lib/build_perf/html/report.html | 222 +++++++++++++++--- scripts/oe-build-perf-report | 153 +++++++++++- 3 files changed, 339 insertions(+), 204 deletions(-) delete mode 100644 scripts/lib/build_perf/html/measurement_chart.html diff --git a/scripts/lib/build_perf/html/measurement_chart.html b/scripts/lib/build_perf/html/measurement_chart.html deleted file mode 100644 index 86435273cf..0000000000 --- a/scripts/lib/build_perf/html/measurement_chart.html +++ /dev/null @@ -1,168 +0,0 @@ - diff --git a/scripts/lib/build_perf/html/report.html b/scripts/lib/build_perf/html/report.html index 28cd80e738..4b37893cd0 100644 --- a/scripts/lib/build_perf/html/report.html +++ b/scripts/lib/build_perf/html/report.html @@ -1,24 +1,8 @@ -{# Scripts, for visualization#} - -{# Render measurement result charts #} -{% for test in test_data %} - {% if test.status == 'SUCCESS' %} - {% for measurement in test.measurements %} - {% set chart_elem_start_time_id = test.name + '_' + measurement.name + '_chart_start_time' %} - {% set chart_elem_commit_count_id = test.name + '_' + measurement.name + '_chart_commit_count' %} - {% include 'measurement_chart.html' %} - {% endfor %} - {% endif %} -{% endfor %} - - - -{# Styles #} {{ title }} @@ -169,23 +186,28 @@ button:hover {

General

The table provides an overview of the comparison between two selected commits from the same branch.

- - - - - - {% for key, item in metadata.items() %} - - - {%if key == 'commit' %} - - - {% else %} - - - {% endif %} - - {% endfor %} + + + + + + + + + {% for key, item in metadata.items() %} + + + {%if key == 'commit' %} + + + {% elif key == 'commit_annotation' %} + {% else %} + + + {% endif %} + + {% endfor %} +
Current commitComparing with
{{ item.title }}{{ poky_link(item.value) }}{{ poky_link(item.value_old) }}{{ item.value }}{{ item.value_old }}
Current commitComparing with
{{ item.title }}{{ poky_link(item.value) }}{%if metadata.commit_annotation and metadata.commit_annotation.value %}
{{metadata.commit_annotation.value}}{% endif %}
{{ poky_link(item.value_old) }}{%if metadata.commit_annotation and metadata.commit_annotation.value %}
{{metadata.commit_annotation.value_old}}{% endif %}
{{ item.value }}{{ item.value_old }}
{# Test result summary #} @@ -380,7 +402,137 @@ button:hover { {% endfor %} -""") + print(html.template.render(title="Build Perf Test Report", metadata=metadata, test_data=tests, chart_opts=chart_opts))