зеркало из https://github.com/Dtronix/DtronixHash.git
5.4 KiB
5.4 KiB
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19044
Intel Core i7-10700 CPU 2.90GHz, 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=6.0.201
[Host] : .NET Core 6.0.3 (CoreCLR 6.0.322.12309, CoreFX 6.0.322.12309), X64 RyuJIT
DefaultJob : .NET Core 6.0.3 (CoreCLR 6.0.322.12309, CoreFX 6.0.322.12309), X64 RyuJIT
Method | DataSize | Mean | Error | StdDev | MBps | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
ComputeMurMur3Hash128X64 | 1000 | 251.4 ns | 0.35 ns | 0.32 ns | 3,793.9 | 0.0048 | - | - | 40 B |
ComputeMurMur3Hash128X86 | 1000 | 340.4 ns | 1.29 ns | 1.15 ns | 2,801.7 | 0.0048 | - | - | 40 B |
ComputeMd5 | 1000 | 1,662.4 ns | 1.18 ns | 1.11 ns | 573.7 | 0.0095 | - | - | 80 B |
ComputeSha256 | 1000 | 3,773.9 ns | 0.50 ns | 0.44 ns | 252.7 | 0.0114 | - | - | 112 B |
ComputeSha1 | 1000 | 1,559.8 ns | 4.30 ns | 3.59 ns | 611.4 | 0.0114 | - | - | 96 B |
BufferMurMur3Hash128X64 | 1000 | 317.3 ns | 0.39 ns | 0.36 ns | 3,005.9 | 0.0153 | - | - | 128 B |
BufferMurMur3Hash128X86 | 1000 | 407.7 ns | 1.16 ns | 1.09 ns | 2,339.0 | 0.0153 | - | - | 128 B |
BufferMd5 | 1000 | 1,745.0 ns | 1.16 ns | 1.08 ns | 546.5 | 0.0172 | - | - | 144 B |
BufferSha256 | 1000 | 3,894.4 ns | 2.35 ns | 1.83 ns | 244.9 | 0.0153 | - | - | 176 B |
BufferSha1 | 1000 | 1,651.6 ns | 0.56 ns | 0.53 ns | 577.4 | 0.0191 | - | - | 160 B |
ComputeMurMur3Hash128X64 | 100000 | 16,833.3 ns | 31.55 ns | 29.52 ns | 5,665.4 | - | - | - | 40 B |
ComputeMurMur3Hash128X86 | 100000 | 25,656.8 ns | 85.30 ns | 79.79 ns | 3,717.0 | - | - | - | 40 B |
ComputeMd5 | 100000 | 149,612.0 ns | 64.90 ns | 57.53 ns | 637.4 | - | - | - | 80 B |
ComputeSha256 | 100000 | 347,106.0 ns | 705.26 ns | 659.70 ns | 274.8 | - | - | - | 112 B |
ComputeSha1 | 100000 | 134,233.8 ns | 186.14 ns | 174.11 ns | 710.5 | - | - | - | 96 B |
BufferMurMur3Hash128X64 | 100000 | 17,793.2 ns | 29.95 ns | 28.01 ns | 5,359.8 | - | - | - | 128 B |
BufferMurMur3Hash128X86 | 100000 | 26,686.8 ns | 135.52 ns | 126.76 ns | 3,573.6 | - | - | - | 128 B |
BufferMd5 | 100000 | 153,260.4 ns | 348.20 ns | 290.76 ns | 622.3 | - | - | - | 144 B |
BufferSha256 | 100000 | 352,645.7 ns | 161.83 ns | 151.38 ns | 270.4 | - | - | - | 176 B |
BufferSha1 | 100000 | 137,859.0 ns | 120.37 ns | 112.59 ns | 691.8 | - | - | - | 160 B |
ComputeMurMur3Hash128X64 | 100000000 | 18,867,203.3 ns | 34,723.27 ns | 32,480.17 ns | 5,054.7 | - | - | - | 56 B |
ComputeMurMur3Hash128X86 | 100000000 | 27,600,964.7 ns | 43,010.38 ns | 35,915.62 ns | 3,455.2 | - | - | - | 56 B |
ComputeMd5 | 100000000 | 151,203,051.8 ns | 129,673.75 ns | 114,952.40 ns | 630.7 | - | - | - | 400 B |
ComputeSha256 | 100000000 | 347,636,746.7 ns | 316,817.39 ns | 296,351.18 ns | 274.3 | - | - | - | 2256 B |
ComputeSha1 | 100000000 | 136,010,220.0 ns | 100,147.87 ns | 93,678.38 ns | 701.2 | - | - | - | 216 B |
BufferMurMur3Hash128X64 | 100000000 | 19,641,306.7 ns | 33,838.33 ns | 31,652.40 ns | 4,855.5 | - | - | - | 143 B |
BufferMurMur3Hash128X86 | 100000000 | 28,543,796.4 ns | 69,230.32 ns | 61,370.87 ns | 3,341.1 | - | - | - | 144 B |
BufferMd5 | 100000000 | 159,044,839.3 ns | 26,631.12 ns | 23,607.79 ns | 599.6 | - | - | - | 788 B |
BufferSha256 | 100000000 | 358,024,935.7 ns | 106,814.50 ns | 94,688.27 ns | 266.4 | - | - | - | 992 B |
BufferSha1 | 100000000 | 144,255,541.7 ns | 179,343.54 ns | 167,758.06 ns | 661.1 | - | - | - | 804 B |