Skip to content

Commit ea3d29f

Browse files
niemyjskilofcz
authored andcommitted
Investigate FastCloner as DeepCloner replacement
- Replace Force.DeepCloner with FastCloner v3.4.4 (source imported) - Add Update-FastCloner.ps1 script for source import automation - Update ObjectExtensions.DeepClone to use FastClonerGenerator - Add nullable annotations to DeepClone extension method - Replace #if MODERN with #if true // MODERN for .NET 8+ targets - Add benchmark comparison results Benchmark results show FastCloner is 7-149% slower than DeepCloner for our test cases, contrary to published benchmarks. reduce to fastcloner vs deepcloner internals rebase use generated fastcloner code group benchmarks, simplify position tracking work on perf remove experiment return original DeepCloner into source code until we sort this out for reproducible benchmarks remove behaviors, add licenses sync fastcloner clean up, sync fastcloner 3.5.1 Update src/Foundatio/Foundatio.csproj fix Co-Authored-By: Blake Niemyjski <bniemyjski@gmail.com>
1 parent 318fa1a commit ea3d29f

38 files changed

Lines changed: 5030 additions & 2682 deletions