Skip to content

Refactor benchmark configuration - #93

Merged
xin9le merged 3 commits into
mainfrom
refactor/benchmark
Jul 7, 2026
Merged

Refactor benchmark configuration#93
xin9le merged 3 commits into
mainfrom
refactor/benchmark

Conversation

@xin9le

@xin9le xin9le commented Jul 7, 2026

Copy link
Copy Markdown
Owner

This pull request updates the benchmarking configuration and project settings for the FastEnum.Benchmarks project. The main changes are the addition of .NET 10.0 as a target framework and improvements to the benchmark configuration logic, including enhanced diagnoser support.

Project configuration updates:

  • Added .NET 10.0 as a target framework in the FastEnum.Benchmarks project file, enabling benchmarking on the latest .NET version.

Benchmark configuration refactoring and enhancements:

  • Refactored the BenchmarkConfig class to use a shared helper method (CreateSharedConfig) for creating configurations, reducing code duplication between ForDefault and ForShortRun methods.
  • Enhanced the benchmark diagnosers by adding a DisassemblyDiagnoser with detailed options (e.g., maxDepth, printSource, GitHub markdown export, combined report), providing deeper performance insights during benchmarking.

@xin9le xin9le self-assigned this Jul 7, 2026
@xin9le
xin9le merged commit 6d9c217 into main Jul 7, 2026
3 checks passed
@xin9le
xin9le deleted the refactor/benchmark branch July 7, 2026 08:01
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