Skip to content

chore: enable CLI args filtering and support multiple benchmark classes - #14

Open
sdwck wants to merge 1 commit into
Antyss77:masterfrom
sdwck:feature/benchmark-switcher
Open

chore: enable CLI args filtering and support multiple benchmark classes#14
sdwck wants to merge 1 commit into
Antyss77:masterfrom
sdwck:feature/benchmark-switcher

Conversation

@sdwck

@sdwck sdwck commented Aug 10, 2026

Copy link
Copy Markdown

Extracted this change into its own PR.
This replaces Benchmark.Run with Benchmark.FromAssembly.
This brings 2 DX improvements:

  • Passing args, it allows running specific benchmarks with dotnet run -c Release --project Benchmarks -- --filter *RemoveCharacters*
  • If new benchmark classes are added, they will automatically be picked up

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.

1 participant