Skip to content

Add Deviation and StDev columns to Blazor first-ui regression template - #2194

Open
LoopedBard3 wants to merge 1 commit into
aspnet:mainfrom
LoopedBard3:loopedbard3-blazor-first-ui-deviation-stdev-columns
Open

Add Deviation and StDev columns to Blazor first-ui regression template#2194
LoopedBard3 wants to merge 1 commit into
aspnet:mainfrom
LoopedBard3:loopedbard3-blazor-first-ui-deviation-stdev-columns

Conversation

@LoopedBard3

Copy link
Copy Markdown
Contributor

What

Adds the Deviation and StDev columns to the first-ui regression report template in build/regressions.blazor.config.yml (the template used for the blazorwasm/time-to-first-ui probe).

Why

Time-to-first-ui regression issues (e.g. dotnet/aspnetcore#68100) were missing the Deviation/StDev columns that the rps (e.g. dotnet/aspnetcore#67745) and download-size templates already render. The cause was purely cosmetic: the first-ui template header simply never defined those two columns — it mirrored the start-time template, which also omits them.

The underlying data is already computed by crank''s RegressionBot and available on the Regression object (regression.StandardDeviation, with deviation = regression.Change / regression.StandardDeviation), exactly as the sibling download-size template already uses it. So this is a template-only change with no dependency on run data.

StDev is formatted N2 (rather than the download-size template''s N0) since time-to-first-ui values are small millisecond quantities where sub-integer standard deviations are meaningful.

Notes

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Blazor first-ui regression issue template to display statistical context (Deviation and Standard Deviation) alongside existing regression metrics, aligning it with the other Blazor regression templates.

Changes:

  • Adds Deviation and StDev columns to the first-ui markdown table header/separator.
  • Computes deviation = regression.Change / regression.StandardDeviation and renders both deviation (σ) and standard deviation (formatted N2).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants