Skip to content

Cache compiled factory-delegate generators to avoid recompilation across scopes (#1461) - #1491

Merged
tillig merged 5 commits into
developfrom
feature/issue-1461
Jun 16, 2026
Merged

Cache compiled factory-delegate generators to avoid recompilation across scopes (#1461)#1491
tillig merged 5 commits into
developfrom
feature/issue-1461

Correct #1461 benchmark to exercise per-scope factory recompilation

a5c3de1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 16, 2026 in 1s

78.07% (+0.07%) compared to 0e724c2

View this Pull Request on Codecov

78.07% (+0.07%) compared to 0e724c2

Details

Codecov Report

❌ Patch coverage is 93.10345% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.07%. Comparing base (0e724c2) to head (a5c3de1).
⚠️ Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
...ac/Features/GeneratedFactories/FactoryGenerator.cs 93.84% 3 Missing and 1 partial ⚠️
...c/Util/Cache/ReflectionCacheTypeKeyedDictionary.cs 80.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1491      +/-   ##
===========================================
+ Coverage    78.00%   78.07%   +0.07%     
===========================================
  Files          217      218       +1     
  Lines         5897     5944      +47     
  Branches      1265     1273       +8     
===========================================
+ Hits          4600     4641      +41     
- Misses         759      763       +4     
- Partials       538      540       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.