From 7b6e5d82408c8ddce07e0fedc5882c83a68590a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 16:45:29 +0000 Subject: [PATCH 1/2] Bump Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.CSharp.Workspaces Bumps Microsoft.CodeAnalysis.CSharp from 5.6.0 to 5.9.0 Bumps Microsoft.CodeAnalysis.CSharp.Workspaces from 5.6.0 to 5.9.0 --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp.Workspaces dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp.Workspaces dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- src/GenDI.Analyzers/GenDI.Analyzers.csproj | 4 ++-- src/GenDI.SourceGenerator/GenDI.SourceGenerator.csproj | 2 +- tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj | 4 ++-- .../GenDI.SourceGenerator.CoverageDisabled.Tests.csproj | 2 +- .../GenDI.SourceGenerator.CoverageEnabled.Tests.csproj | 2 +- .../GenDI.SourceGenerator.NoCoverageAttribute.Tests.csproj | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/GenDI.Analyzers/GenDI.Analyzers.csproj b/src/GenDI.Analyzers/GenDI.Analyzers.csproj index d3880e9..75e516e 100644 --- a/src/GenDI.Analyzers/GenDI.Analyzers.csproj +++ b/src/GenDI.Analyzers/GenDI.Analyzers.csproj @@ -14,10 +14,10 @@ - + diff --git a/src/GenDI.SourceGenerator/GenDI.SourceGenerator.csproj b/src/GenDI.SourceGenerator/GenDI.SourceGenerator.csproj index 01f4a08..e7ac727 100644 --- a/src/GenDI.SourceGenerator/GenDI.SourceGenerator.csproj +++ b/src/GenDI.SourceGenerator/GenDI.SourceGenerator.csproj @@ -16,7 +16,7 @@ - + diff --git a/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj b/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj index 209eed5..044a8f3 100644 --- a/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj +++ b/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj @@ -13,10 +13,10 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/GenDI.SourceGenerator.CoverageDisabled.Tests/GenDI.SourceGenerator.CoverageDisabled.Tests.csproj b/tests/GenDI.SourceGenerator.CoverageDisabled.Tests/GenDI.SourceGenerator.CoverageDisabled.Tests.csproj index 28e10be..01412b4 100644 --- a/tests/GenDI.SourceGenerator.CoverageDisabled.Tests/GenDI.SourceGenerator.CoverageDisabled.Tests.csproj +++ b/tests/GenDI.SourceGenerator.CoverageDisabled.Tests/GenDI.SourceGenerator.CoverageDisabled.Tests.csproj @@ -14,7 +14,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + Date: Tue, 1 Sep 2026 16:49:27 +0000 Subject: [PATCH 2/2] docs: update benchmark snapshot from CI run #231 --- docs/BENCHMARKS.md | 18 +++++++++--------- website/docs/advanced/benchmarks.md | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/BENCHMARKS.md b/docs/BENCHMARKS.md index f5b627e..6a0e21c 100644 --- a/docs/BENCHMARKS.md +++ b/docs/BENCHMARKS.md @@ -40,21 +40,21 @@ dotnet run -c Release --project tests/GenDI.Benchmarks/GenDI.Benchmarks.csproj - ## Latest CI benchmark snapshot -_Updated by [CI run #225](https://github.com/schivei/GenDI/actions/runs/29263183905) on 2026-07-13 15:43 UTC_ +_Updated by [CI run #231](https://github.com/schivei/GenDI/actions/runs/33533719964) on 2026-09-01 16:49 UTC_ | Method | Mean | Allocated | |---|---:|---:| -| Manual registration (no GenDI) | 3.211 μs | 7.42 KB | -| GenDI: constructor injection (generated) | 11.781 μs | 9.98 KB | -| GenDI: property injection (generated) | 11.780 μs | 9.98 KB | -| GenDI: with decorator, property injection (generated) | 19.599 μs | 14.26 KB | -| Reflection registration (no GenDI, assembly scan) | 76.778 μs | 23.9 KB | +| Manual registration (no GenDI) | 3.206 μs | 7.42 KB | +| GenDI: constructor injection (generated) | 13.325 μs | 9.98 KB | +| GenDI: property injection (generated) | 13.287 μs | 9.98 KB | +| GenDI: with decorator, property injection (generated) | 19.594 μs | 14.26 KB | +| Reflection registration (no GenDI, assembly scan) | 77.926 μs | 23.9 KB | ### CI analysis -- GenDI constructor injection is **+266.9%** versus manual registration. -- GenDI property injection is **+266.9%** versus manual registration. -- Reflection scanning remains the outlier at **~23.9x slower** and **~3.2x higher allocation** than manual registration. +- GenDI constructor injection is **+315.6%** versus manual registration. +- GenDI property injection is **+314.4%** versus manual registration. +- Reflection scanning remains the outlier at **~24.3x slower** and **~3.2x higher allocation** than manual registration. - Compatibility note: this benchmark compares manual and generated registrations against a reflection scanner baseline; as documented below, reflection scanning is not suitable for trimming/NativeAOT scenarios, while manual and GenDI-generated registrations remain the supported path. diff --git a/website/docs/advanced/benchmarks.md b/website/docs/advanced/benchmarks.md index 5e9c13f..e48df33 100644 --- a/website/docs/advanced/benchmarks.md +++ b/website/docs/advanced/benchmarks.md @@ -33,21 +33,21 @@ dotnet run -c Release --project tests/GenDI.Benchmarks/GenDI.Benchmarks.csproj - ## ⚡ Latest result snapshot -_Updated by [CI run #225](https://github.com/schivei/GenDI/actions/runs/29263183905) on 2026-07-13 15:43 UTC_ +_Updated by [CI run #231](https://github.com/schivei/GenDI/actions/runs/33533719964) on 2026-09-01 16:49 UTC_ | Method | Mean | Allocated | |---|---:|---:| -| Manual registration (no GenDI) | 3.211 μs | 7.42 KB | -| GenDI: constructor injection (generated) | 11.781 μs | 9.98 KB | -| GenDI: property injection (generated) | 11.780 μs | 9.98 KB | -| GenDI: with decorator, property injection (generated) | 19.599 μs | 14.26 KB | -| Reflection registration (no GenDI, assembly scan) | 76.778 μs | 23.9 KB | +| Manual registration (no GenDI) | 3.206 μs | 7.42 KB | +| GenDI: constructor injection (generated) | 13.325 μs | 9.98 KB | +| GenDI: property injection (generated) | 13.287 μs | 9.98 KB | +| GenDI: with decorator, property injection (generated) | 19.594 μs | 14.26 KB | +| Reflection registration (no GenDI, assembly scan) | 77.926 μs | 23.9 KB | ### CI analysis -- GenDI constructor injection is **+266.9%** versus manual registration. -- GenDI property injection is **+266.9%** versus manual registration. -- Reflection scanning remains the outlier at **~23.9x slower** and **~3.2x higher allocation** than manual registration. +- GenDI constructor injection is **+315.6%** versus manual registration. +- GenDI property injection is **+314.4%** versus manual registration. +- Reflection scanning remains the outlier at **~24.3x slower** and **~3.2x higher allocation** than manual registration. - Compatibility note: this benchmark compares manual and generated registrations against a reflection scanner baseline; as documented below, reflection scanning is not suitable for trimming/NativeAOT scenarios, while manual and GenDI-generated registrations remain the supported path.