BenchmarkDotNet v0.14.0, Windows 10 (10.0.19045.5131/22H2/2022Update)
AMD Ryzen 9 7900X, 1 CPU, 24 logical and 12 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
ShortRun : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=ShortRun IterationCount=3 LaunchCount=1
WarmupCount=3
Method | FractionToRaise | exponent | Mean | Error | StdDev | Gen0 | Allocated |
---|---|---|---|---|---|---|---|
Power | 2/3 | -2 | 75.695 ns | 3.6697 ns | 0.2011 ns | - | - |
Power | 2/3 | 0 | 4.150 ns | 0.5267 ns | 0.0289 ns | - | - |
Power | 2/3 | 1 | 18.643 ns | 0.7492 ns | 0.0411 ns | - | - |
Power | 2/3 | 2 | 68.488 ns | 21.7937 ns | 1.1946 ns | - | - |
Power | 2/3 | 50 | 167.315 ns | 8.3907 ns | 0.4599 ns | 0.0043 | 72 B |
Power | 2/3 | 100 | 440.397 ns | 94.6557 ns | 5.1884 ns | 0.0052 | 88 B |
Power | 2 | -2 | 48.738 ns | 0.2582 ns | 0.0142 ns | - | - |
Power | 2 | 0 | 4.976 ns | 3.7940 ns | 0.2080 ns | - | - |
Power | 2 | 1 | 19.067 ns | 0.1167 ns | 0.0064 ns | - | - |
Power | 2 | 2 | 41.289 ns | 1.5180 ns | 0.0832 ns | - | - |
Power | 2 | 50 | 96.135 ns | 79.6757 ns | 4.3673 ns | 0.0019 | 32 B |
Power | 2 | 100 | 163.470 ns | 4.4123 ns | 0.2419 ns | 0.0024 | 40 B |
Power | 3 | -2 | 51.580 ns | 65.2877 ns | 3.5786 ns | - | - |
Power | 3 | 0 | 4.155 ns | 0.6490 ns | 0.0356 ns | - | - |
Power | 3 | 1 | 18.813 ns | 2.3077 ns | 0.1265 ns | - | - |
Power | 3 | 2 | 42.152 ns | 1.7191 ns | 0.0942 ns | - | - |
Power | 3 | 50 | 115.084 ns | 2.6497 ns | 0.1452 ns | 0.0024 | 40 B |
Power | 3 | 100 | 198.673 ns | 27.9703 ns | 1.5331 ns | 0.0029 | 48 B |
Power | 1024 | -2 | 49.117 ns | 2.4859 ns | 0.1363 ns | - | - |
Power | 1024 | 0 | 4.295 ns | 4.3390 ns | 0.2378 ns | - | - |
Power | 1024 | 1 | 18.855 ns | 2.2148 ns | 0.1214 ns | - | - |
Power | 1024 | 2 | 46.816 ns | 19.5143 ns | 1.0696 ns | - | - |
Power | 1024 | 50 | 153.101 ns | 1.7762 ns | 0.0974 ns | 0.0052 | 88 B |
Power | 1024 | 100 | 375.880 ns | 39.5460 ns | 2.1676 ns | 0.0091 | 152 B |
Sqrt | 2/3 | ? | 1,282.094 ns | 48.5405 ns | 2.6607 ns | 0.0286 | 504 B |
Sqrt | 2 | ? | 1,236.765 ns | 54.4513 ns | 2.9847 ns | 0.0210 | 376 B |
Sqrt | 3 | ? | 1,311.985 ns | 121.7756 ns | 6.6749 ns | 0.0286 | 504 B |
Sqrt | 1024 | ? | 307.165 ns | 30.2575 ns | 1.6585 ns | 0.0081 | 136 B |