Skip to content

chore: Add .NET10 benchmark for CI and .NET 10 Preview installed environment #183

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 1 commit into from
Jul 8, 2025

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Jun 19, 2025

This PR intended to add support to run .NET 10 benchmarks on CI.

Previously, .NET 10 target framework is used when building project on Visual Studio Preview version.
This PR change this condition to when building project with ,NET 10 version of MsBuild.

![NOTE]
Non-Preview version of Visual Studio is not affected by this changes.
Because Use previews of the .NET SDK experimental feature is not enabled by default.

What's changed in this PR

  1. Modify benchmarks.yaml.
    1.1. Add framework input. And pass parameter to dotnet run --framework.
    1.2. Add optional steps to install .NET 10 SDK
  2. Modify benchmark projects to use net10.0 if MSBuild running on .NET 10
  3. Add Shuffle benchmarks for SystemLinq benchmarks
  4. Modify other benchmark related settings/typo

@neuecc
Copy link
Member

neuecc commented Jul 8, 2025

sorry for delayed response and thanks!

@neuecc neuecc merged commit 40bb2d6 into Cysharp:main Jul 8, 2025
4 checks passed
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.

None yet

2 participants