Skip to content

Emit framework versions from Blazor WASM benchmark Driver - #68119

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
LoopedBard3:loopedbard3-blazorwasm-emit-framework-version
Aug 4, 2026
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
LoopedBard3:loopedbard3-blazorwasm-emit-framework-version

Conversation

@LoopedBard3

Copy link
Copy Markdown
Member

Summary

Perf-regression issues filed for the docker-built blazorwasmbenchmark scenario show an empty Dependencies column (e.g. #68100), unlike server scenarios which list Microsoft.AspNetCore.App / Microsoft.NETCore.App diffs.

crank's RegressionBot (Microsoft.Crank.RegressionBot -> CreateDotNetDependencies) synthesizes those dependency rows from the aspNetCoreVersion / netCoreAppVersion result keys (each formatted <version>+<commitHash>). crank normally captures these via the Microsoft.Crank.EventSources EventSource (EventPipe), but that channel is not available for container/Dockerfile-based jobs. The blazorwasm scenario builds via a Dockerfile, so the only result channel is the Driver's stdout #StartJobStatistics JSON.

Change

Wasm.Performance/Driver/Program.cs FormatAsBenchmarksOutput now emits netCoreAppVersion (from System.Private.CoreLib's AssemblyInformationalVersionAttribute) and aspNetCoreVersion (from Microsoft.AspNetCore's) over the same stdout channel it already uses for blazorwasm/commit. This lets RegressionBot.CreateDotNetDependencies populate the Dependencies column of filed regression issues.

Notes

  • Benchmark-infra-only change; no product impact.
  • Follows the existing blazorwasm/commit emission pattern in the same method.

Refs #68100

The docker-built blazorwasmbenchmark scenario reports an empty Dependencies
column in perf-regression issues because crank cannot capture
aspNetCoreVersion/netCoreAppVersion via the Microsoft.Crank.EventSources
EventSource for container-based jobs. Emit these two framework versions over
the existing stdout #StartJobStatistics channel so RegressionBot can synthesize
the Microsoft.AspNetCore.App / Microsoft.NETCore.App dependency rows.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 7016d9fe-c31b-47a6-9229-bfde94be53af
@LoopedBard3 LoopedBard3 added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label Jul 30, 2026
@LoopedBard3
LoopedBard3 marked this pull request as ready for review July 30, 2026 22:31
@LoopedBard3
LoopedBard3 requested a review from a team as a code owner July 30, 2026 22:31
Copilot AI review requested due to automatic review settings July 30, 2026 22:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 WASM benchmark Driver’s stdout “#StartJobStatistics” JSON to include framework version keys needed by crank’s RegressionBot when EventPipe-based dependency capture isn’t available for Dockerfile/container jobs.

Changes:

  • Emit netCoreAppVersion using System.Private.CoreLib’s AssemblyInformationalVersionAttribute.
  • Emit aspNetCoreVersion using Microsoft.AspNetCore’s AssemblyInformationalVersionAttribute.
  • Add matching metadata entries so these values show up as named results alongside existing Driver-emitted keys (e.g., blazorwasm/commit).

@akoeplinger
akoeplinger merged commit 3ea89c5 into dotnet:main Aug 4, 2026
35 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 6, 2026
@LoopedBard3
LoopedBard3 deleted the loopedbard3-blazorwasm-emit-framework-version branch August 10, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This issue represents an ask for new feature or an enhancement to an existing one

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants