From db9489b868f8bd2ecbc467c2a11d4cbcc11734fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 16:43:09 +0000 Subject: [PATCH 1/2] Bump coverlet.collector from 10.0.1 to 10.1.0 --- updated-dependencies: - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: coverlet.collector dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj | 2 +- tests/GenDI.Integration.Tests/GenDI.Integration.Tests.csproj | 2 +- .../GenDI.Phase3.Validation.Tests.csproj | 2 +- .../GenDI.Phase6.PlatformValidation.Tests.csproj | 2 +- .../GenDI.SourceGenerator.CoverageDisabled.Tests.csproj | 2 +- .../GenDI.SourceGenerator.CoverageEnabled.Tests.csproj | 2 +- .../GenDI.SourceGenerator.NoCoverageAttribute.Tests.csproj | 2 +- .../GenDI.Testing.Example.Tests.csproj | 2 +- tests/GenDI.Testing.Tests/GenDI.Testing.Tests.csproj | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj b/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj index 209eed5..889ea29 100644 --- a/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj +++ b/tests/GenDI.Analyzers.Tests/GenDI.Analyzers.Tests.csproj @@ -9,7 +9,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.Integration.Tests/GenDI.Integration.Tests.csproj b/tests/GenDI.Integration.Tests/GenDI.Integration.Tests.csproj index 472e750..2f37ed0 100644 --- a/tests/GenDI.Integration.Tests/GenDI.Integration.Tests.csproj +++ b/tests/GenDI.Integration.Tests/GenDI.Integration.Tests.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.Phase3.Validation.Tests/GenDI.Phase3.Validation.Tests.csproj b/tests/GenDI.Phase3.Validation.Tests/GenDI.Phase3.Validation.Tests.csproj index f5c5c65..6b3c877 100644 --- a/tests/GenDI.Phase3.Validation.Tests/GenDI.Phase3.Validation.Tests.csproj +++ b/tests/GenDI.Phase3.Validation.Tests/GenDI.Phase3.Validation.Tests.csproj @@ -9,7 +9,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.Phase6.PlatformValidation.Tests/GenDI.Phase6.PlatformValidation.Tests.csproj b/tests/GenDI.Phase6.PlatformValidation.Tests/GenDI.Phase6.PlatformValidation.Tests.csproj index f5c5c65..6b3c877 100644 --- a/tests/GenDI.Phase6.PlatformValidation.Tests/GenDI.Phase6.PlatformValidation.Tests.csproj +++ b/tests/GenDI.Phase6.PlatformValidation.Tests/GenDI.Phase6.PlatformValidation.Tests.csproj @@ -9,7 +9,7 @@ - + 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..da34751 100644 --- a/tests/GenDI.SourceGenerator.CoverageDisabled.Tests/GenDI.SourceGenerator.CoverageDisabled.Tests.csproj +++ b/tests/GenDI.SourceGenerator.CoverageDisabled.Tests/GenDI.SourceGenerator.CoverageDisabled.Tests.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.SourceGenerator.CoverageEnabled.Tests/GenDI.SourceGenerator.CoverageEnabled.Tests.csproj b/tests/GenDI.SourceGenerator.CoverageEnabled.Tests/GenDI.SourceGenerator.CoverageEnabled.Tests.csproj index 28e10be..da34751 100644 --- a/tests/GenDI.SourceGenerator.CoverageEnabled.Tests/GenDI.SourceGenerator.CoverageEnabled.Tests.csproj +++ b/tests/GenDI.SourceGenerator.CoverageEnabled.Tests/GenDI.SourceGenerator.CoverageEnabled.Tests.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests.csproj b/tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests.csproj index 28e10be..da34751 100644 --- a/tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests.csproj +++ b/tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests/GenDI.SourceGenerator.NoCoverageAttribute.Tests.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.Testing.Example.Tests/GenDI.Testing.Example.Tests.csproj b/tests/GenDI.Testing.Example.Tests/GenDI.Testing.Example.Tests.csproj index 4556be4..252f389 100644 --- a/tests/GenDI.Testing.Example.Tests/GenDI.Testing.Example.Tests.csproj +++ b/tests/GenDI.Testing.Example.Tests/GenDI.Testing.Example.Tests.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/GenDI.Testing.Tests/GenDI.Testing.Tests.csproj b/tests/GenDI.Testing.Tests/GenDI.Testing.Tests.csproj index 29edbac..4029ccd 100644 --- a/tests/GenDI.Testing.Tests/GenDI.Testing.Tests.csproj +++ b/tests/GenDI.Testing.Tests/GenDI.Testing.Tests.csproj @@ -8,7 +8,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From eaecb1d4e34ea270e740e50673337850a204cd79 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Oct 2026 16:47:20 +0000 Subject: [PATCH 2/2] docs: update benchmark snapshot from CI run #238 --- 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..1fee112 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 #238](https://github.com/schivei/GenDI/actions/runs/36894105957) on 2026-10-01 16:47 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.379 μs | 7.42 KB | +| GenDI: constructor injection (generated) | 13.154 μs | 9.98 KB | +| GenDI: property injection (generated) | 11.892 μs | 9.98 KB | +| GenDI: with decorator, property injection (generated) | 19.088 μs | 14.26 KB | +| Reflection registration (no GenDI, assembly scan) | 76.336 μ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 **+289.3%** versus manual registration. +- GenDI property injection is **+251.9%** versus manual registration. +- Reflection scanning remains the outlier at **~22.6x 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..7bb4669 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 #238](https://github.com/schivei/GenDI/actions/runs/36894105957) on 2026-10-01 16:47 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.379 μs | 7.42 KB | +| GenDI: constructor injection (generated) | 13.154 μs | 9.98 KB | +| GenDI: property injection (generated) | 11.892 μs | 9.98 KB | +| GenDI: with decorator, property injection (generated) | 19.088 μs | 14.26 KB | +| Reflection registration (no GenDI, assembly scan) | 76.336 μ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 **+289.3%** versus manual registration. +- GenDI property injection is **+251.9%** versus manual registration. +- Reflection scanning remains the outlier at **~22.6x 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.