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 | StringFormat | fraction | Mean | Error | StdDev | Gen0 | Allocated |
---|---|---|---|---|---|---|---|
ToString_Fraction | ? | -5/2 | 52.43 ns | 2.122 ns | 0.116 ns | 0.0076 | 128 B |
ToString_Fraction | ? | 269/200 | 45.17 ns | 2.384 ns | 0.131 ns | 0.0062 | 104 B |
ToString_Fraction | ? | 8/3 | 44.99 ns | 0.727 ns | 0.040 ns | 0.0057 | 96 B |
ToString_Fraction | ? | 88427(...)10656 [31] | 77.88 ns | 5.596 ns | 0.307 ns | 0.0157 | 264 B |
ToString_Fraction | ? | 42 | 31.21 ns | 1.768 ns | 0.097 ns | 0.0038 | 64 B |
ToString_Fraction | d | -5/2 | 34.13 ns | 4.814 ns | 0.264 ns | 0.0134 | 224 B |
ToString_Fraction | d | 269/200 | 34.70 ns | 2.196 ns | 0.120 ns | 0.0138 | 232 B |
ToString_Fraction | d | 8/3 | 34.88 ns | 2.676 ns | 0.147 ns | 0.0134 | 224 B |
ToString_Fraction | d | 88427(...)10656 [31] | 53.67 ns | 9.835 ns | 0.539 ns | 0.0186 | 312 B |
ToString_Fraction | d | 42 | 34.41 ns | 3.208 ns | 0.176 ns | 0.0134 | 224 B |
ToString_Fraction | G | -5/2 | 51.60 ns | 1.246 ns | 0.068 ns | 0.0076 | 128 B |
ToString_Fraction | G | 269/200 | 45.79 ns | 4.179 ns | 0.229 ns | 0.0062 | 104 B |
ToString_Fraction | G | 8/3 | 50.67 ns | 1.497 ns | 0.082 ns | 0.0057 | 96 B |
ToString_Fraction | G | 88427(...)10656 [31] | 79.19 ns | 10.260 ns | 0.562 ns | 0.0157 | 264 B |
ToString_Fraction | G | 42 | 31.12 ns | 3.234 ns | 0.177 ns | 0.0038 | 64 B |
ToString_Fraction | m | -5/2 | 137.68 ns | 13.035 ns | 0.715 ns | 0.0205 | 344 B |
ToString_Fraction | m | 269/200 | 136.89 ns | 9.580 ns | 0.525 ns | 0.0191 | 320 B |
ToString_Fraction | m | 8/3 | 133.03 ns | 5.405 ns | 0.296 ns | 0.0176 | 296 B |
ToString_Fraction | m | 88427(...)10656 [31] | 260.45 ns | 13.764 ns | 0.754 ns | 0.0381 | 640 B |
ToString_Fraction | m | 42 | 72.40 ns | 3.605 ns | 0.198 ns | 0.0138 | 232 B |
ToString_Fraction | n | -5/2 | 40.64 ns | 3.108 ns | 0.170 ns | 0.0157 | 264 B |
ToString_Fraction | n | 269/200 | 34.68 ns | 3.803 ns | 0.208 ns | 0.0138 | 232 B |
ToString_Fraction | n | 8/3 | 34.46 ns | 2.844 ns | 0.156 ns | 0.0134 | 224 B |
ToString_Fraction | n | 88427(...)10656 [31] | 51.43 ns | 5.188 ns | 0.284 ns | 0.0186 | 312 B |
ToString_Fraction | n | 42 | 40.88 ns | 10.394 ns | 0.570 ns | 0.0138 | 232 B |
ToString_Fraction | r | -5/2 | 108.82 ns | 4.528 ns | 0.248 ns | 0.0176 | 296 B |
ToString_Fraction | r | 269/200 | 105.41 ns | 13.469 ns | 0.738 ns | 0.0167 | 280 B |
ToString_Fraction | r | 8/3 | 100.13 ns | 6.225 ns | 0.341 ns | 0.0157 | 264 B |
ToString_Fraction | r | 88427(...)10656 [31] | 223.85 ns | 3.896 ns | 0.214 ns | 0.0329 | 552 B |
ToString_Fraction | r | 42 | 71.72 ns | 3.274 ns | 0.179 ns | 0.0134 | 224 B |
ToString_Fraction | z | -5/2 | 49.76 ns | 5.828 ns | 0.319 ns | 0.0157 | 264 B |
ToString_Fraction | z | 269/200 | 42.70 ns | 2.909 ns | 0.159 ns | 0.0134 | 224 B |
ToString_Fraction | z | 8/3 | 42.38 ns | 4.675 ns | 0.256 ns | 0.0134 | 224 B |
ToString_Fraction | z | 88427(...)10656 [31] | 55.43 ns | 8.923 ns | 0.489 ns | 0.0134 | 224 B |
ToString_Fraction | z | 42 | 42.73 ns | 5.946 ns | 0.326 ns | 0.0138 | 232 B |