From 68efa46fc553268874f5a2c674b817d1822e729f Mon Sep 17 00:00:00 2001 From: Parker Bibus Date: Mon, 3 Aug 2026 11:13:24 -0700 Subject: [PATCH] Add Deviation and StDev columns to Blazor first-ui regression template The first-ui template (used for the blazorwasm/time-to-first-ui probe) omitted the Deviation and StDev columns that the rps and download-size templates already render, so those columns were missing from filed time-to-first-ui regression issues (e.g. dotnet/aspnetcore#68100). The data is already available on the Regression object (regression.StandardDeviation, and deviation = Change / StandardDeviation), so this is a template-only change that brings first-ui in line with the other regression report templates. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a46e499b-934c-4f39-b013-e3384a46eb97 --- build/regressions.blazor.config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/regressions.blazor.config.yml b/build/regressions.blazor.config.yml index 1ac31a7fa..0d4d5a8f3 100644 --- a/build/regressions.blazor.config.yml +++ b/build/regressions.blazor.config.yml @@ -96,14 +96,15 @@ templates: [PowerBI Dashboard](https://aka.ms/aspnet/benchmarks) first-ui: | - | Scenario | Environment | Date | Old (ms) | New (ms) | Change | Dependencies | - | -------- | ----------- | ---- | -------- | -------- | ------ | ------------ | + | Scenario | Environment | Date | Old (ms) | New (ms) | Change | Deviation | StDev | Dependencies | + | -------- | ----------- | ---- | -------- | -------- | ------ | --------- | ----- | ------------ | {%- for regression in Regressions -%} {%- assign r = regression.CurrentResult -%} {%- assign p = regression.PreviousResult -%} {%- assign build = r.Data.jobs.application.results['blazorwasm/time-to-first-ui'] -%} {%- assign prevBuild = p.Data.jobs.application.results['blazorwasm/time-to-first-ui'] | at_least: 1 -%} {%- assign change = regression.Change | times: 100 | divided_by: prevBuild -%} + {%- assign deviation = regression.Change | divided_by: regression.StandardDeviation -%} {%- capture changes -%}
Changes @@ -147,7 +148,7 @@ templates: {%- endfor -%}
{%- endcapture %} - | {{r.Scenario}} {% if regression.HasRecovered %}[Fixed]{% endif %} | {{r.Description}} | {{r.DateTimeUtc | format_date: 'G'}} | {{prevBuild | format_number: 'N0' }} | {{build | format_number: 'N0' }} | {{change | format_number: 'N2'}} % ({{regression.Change | format_number: 'N0'}}) {% if regression.Change < 0 %} :thumbsup: {% else %} :thumbsdown: {% endif %}| {{ changes | strip_newlines }} | + | {{r.Scenario}} {% if regression.HasRecovered %}[Fixed]{% endif %} | {{r.Description}} | {{r.DateTimeUtc | format_date: 'G'}} | {{prevBuild | format_number: 'N0' }} | {{build | format_number: 'N0' }} | {{change | format_number: 'N2'}} % ({{regression.Change | format_number: 'N0'}}) {% if regression.Change < 0 %} :thumbsup: {% else %} :thumbsdown: {% endif %}| {{deviation | format_number: 'N2'}} σ | {{ regression.StandardDeviation | format_number: 'N2'}} | {{ changes | strip_newlines }} | {%- endfor %} [PowerBI Dashboard](https://aka.ms/aspnet/benchmarks)