File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
tests/Ardalis.Specification.Benchmarks Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ public class Benchmark7_SearchMemoryEvaluator
66 /*
77 * This benchmark measures search memory evaluation compared to version 8.
88 * In version 9 we're utilizing allocation free GroupBy.
9+
10+ Results from version 9.2.0 on .NET 9.0 (2025-06-12). They're diabolical :)
11+
12+ | Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
13+ |----------- |----------:|---------:|---------:|------:|--------:|--------:|----------:|------------:|
14+ | EvaluateV8 | 136.54 us | 2.571 us | 2.640 us | 1.00 | 0.03 | 28.8086 | 241832 B | 1.000 |
15+ | Evaluate | 95.22 us | 1.554 us | 1.454 us | 0.70 | 0.02 | - | 96 B | 0.000 |
916 */
1017
1118 private List < Customer > _source = default ! ;
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ public class Benchmark8_SearchMemoryValidator
66 /*
77 * This benchmark measures search memory validator compared to version 8.
88 * In version 9 we're utilizing allocation free GroupBy.
9+
10+ Results from version 9.2.0 on .NET 9.0 (2025-06-12). They're diabolical :)
11+
12+ | Method | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio |
13+ |----------- |----------:|---------:|---------:|------:|--------:|----------:|------------:|
14+ | ValidateV8 | 222.87 us | 1.797 us | 1.500 us | 1.00 | 73.9746 | 619016 B | 1.00 |
15+ | Validate | 92.96 us | 0.261 us | 0.218 us | 0.42 | - | - | 0.00 |
916 */
1017
1118 private List < Customer > _source = default ! ;
You can’t perform that action at this time.
0 commit comments