Skip to content

feat: add all generator benchmarks - #4660

Merged
thomhurst merged 1 commit into
thomhurst:mainfrom
TimothyMakkison:generator_benchmarks
Feb 3, 2026
Merged

feat: add all generator benchmarks#4660
thomhurst merged 1 commit into
thomhurst:mainfrom
TimothyMakkison:generator_benchmarks

Conversation

@TimothyMakkison

Copy link
Copy Markdown
Contributor

Add benchmarks for all source generators

DynamicTestsGeneratorBenchmarks

MethodMeanErrorStdDevGen0Gen1Allocated
RunGenerator2.351 ms0.0219 ms0.0313 ms42.968811.7188407.67 KB

InfrastructureGeneratorBenchmarks

MethodMeanErrorStdDevGen0Gen1Allocated
RunGenerator244.6 us3.40 us3.01 us24.41412.9297231.92 KB

HookMetadataGeneratorBenchmarks

MethodMeanErrorStdDevGen0Gen1Allocated
RunGenerator43.19 ms0.862 ms1.316 ms4000.00001333.333336.42 MB

PropertyInjectionSourceGeneratorBenchmarks

MethodMeanErrorStdDevMedianGen0Allocated
RunGenerator72.91 ms1.955 ms5.418 ms70.90 ms1000.000010.42 MB

@claude

claudeBot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

The PR adds comprehensive benchmark coverage for all source generators following the established patterns in the codebase. The changes are consistent, well-structured, and the performance metrics documented in the PR description provide valuable baseline data for future optimization work.

@thomhurst
thomhurst enabled auto-merge (squash) February 3, 2026 23:04
@thomhurst
thomhurst merged commit a49c379 into thomhurst:mainFeb 3, 2026
8 of 10 checks passed
This was referenced Feb 5, 2026
Sign up for freeto 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.

2 participants

@TimothyMakkison@thomhurst