-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improved by not doing unnescessary work in ValueUnit
- Loading branch information
Casper Bollen
authored and
Casper Bollen
committed
Oct 20, 2023
1 parent
137dcf8
commit ae6e0c7
Showing
3 changed files
with
137 additions
and
31 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
.../BenchmarkDotNet.Artifacts/results/Program.ValueUnitBenchmarks-report-github.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
``` | ||
BenchmarkDotNet v0.13.9+228a464e8be6c580ad9408e98f18813f6407fb5a, macOS Sonoma 14.0 (23A344) [Darwin 23.0.0] | ||
Apple M2 Max, 1 CPU, 12 logical and 12 physical cores | ||
.NET SDK 6.0.415 | ||
[Host] : .NET 6.0.23 (6.0.2323.48002), Arm64 RyuJIT AdvSIMD DEBUG | ||
DefaultJob : .NET 6.0.23 (6.0.2323.48002), Arm64 RyuJIT AdvSIMD | ||
``` | ||
| Method | Mean | Error | StdDev | | ||
|------------------------ |----------:|---------:|---------:| | ||
| BaseValue_200 | 41.12 ms | 0.661 ms | 0.618 ms | | ||
| AllPairs_True_100 | 25.70 ms | 0.089 ms | 0.083 ms | | ||
| AllPairs_True_200 | 129.14 ms | 0.579 ms | 0.513 ms | | ||
| AllPairs_True_Rand_100 | 127.78 ms | 0.404 ms | 0.378 ms | | ||
| AllPairs_False_Rand_200 | 623.85 ms | 4.947 ms | 4.627 ms | | ||
| AllPairs_True_Rand_200 | 624.27 ms | 2.291 ms | 2.031 ms | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters