Skip to content

Fix Blazor WebAssembly Hosted and Blazor Server build perf benchmarks #1943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 7, 2024

Conversation

MackinnonBuck
Copy link
Member

Fix Blazor WebAssembly Hosted and Blazor Server build perf benchmarks

Updates these two benchmarks to account for changes to the project templates in .NET 8.

It should be noted that the "Blazor WebAssembly Hosted" and "Blazor Server" templates don't actually exist anymore - they're now just variants of the "Blazor Web App" template. That said, I haven't changed any test names, etc. in this PR in case that breaks continuity in the dashboards. I will probably perform the rename as part of dotnet/aspnetcore#51971.

Fixes dotnet/aspnetcore#49760

@@ -117,20 +114,5 @@ async Task AddParameterToComponent()
buildDuration.TotalMilliseconds,
"Add a parameter to .razor");
}

async Task ModifyCshtmlFile()
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed this because there are no .cshtml files in the template anymore.

@@ -67,23 +66,9 @@ async Task ChangeServer()
"Change a file in Server");
}

async Task ChangeShared()
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed this because there is no "Shared" project anymore.

@sebastienros
Copy link
Member

Verified with this command

crank --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/ci.profile.yml --config https://raw.githubusercontent.com/aspnet/Benchmarks/mbuck/fix-blazor-build-perf/src/BenchmarksApps/BuildPerformance/buildperformance.yml --profile intel-perflin-app --scenario blazorwasm-hosted --application.source.branchOrCommit mbuck/fix-blazor-build-perf

@sebastienros sebastienros merged commit 46724d4 into main Feb 7, 2024
@sebastienros sebastienros deleted the mbuck/fix-blazor-build-perf branch February 7, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BlazorWasmHosted build benchmark broken
2 participants