Apex.Serialization
Apex.Serialization copied to clipboard
Using the FastExpressionCompiler.LightExpression to build and compile the expressions
- Currently using FEC.LE v3.0.0-preview-02
- All tests are passing
The benchmark results for the String Dictionary expression:
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.572 (2004/?/20H1)
Intel Core i7-8565U CPU 1.80GHz (Whiskey Lake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.1.403
[Host] : .NET Core 3.1.9 (CoreCLR 4.700.20.47201, CoreFX 4.700.20.47203), X64 RyuJIT
DefaultJob : .NET Core 3.1.9 (CoreCLR 4.700.20.47201, CoreFX 4.700.20.47203), X64 RyuJIT
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------ |----------:|---------:|---------:|------:|--------:|-------:|-------:|-------:|----------:|
| CompileSys | 464.62 us | 4.434 us | 4.147 us | 13.14 | 0.16 | 7.3242 | 3.4180 | - | 29.9 KB |
| CompileFast | 35.38 us | 0.531 us | 0.470 us | 1.00 | 0.00 | 1.8311 | 0.9155 | 0.0610 | 7.66 KB |
Thanks, I'll take a look.
@dbolin FEC v3 is out. I will resolve the conflicts and update the PR.
@dbolin updated. solved.