Last active
July 21, 2023 08:04
-
-
Save tiehuis/1f7102b98776f5add3812b3622dd5a80 to your computer and use it in GitHub Desktop.
xxhash benchmarks
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
#!/bin/bash | |
# See https://github.com/ziglang/zig/commit/22cd7156a48136017656b4c9309bba9041a46bfd | |
cd .. && zig build-lib --zig-lib-dir $HOME/src/zig/lib zig_hashes.zig -O ReleaseFast -femit-bin=zig_hashes.a | |
cd build && make |
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
#!/bin/bash | |
O=smhasher.log | |
./SMHasher --test=Speed xxHash32 >> $O | |
./SMHasher --test=Speed zig-xxHash32 >> $O | |
./SMHasher --test=Speed xxHash64 >> $O | |
./SMHasher --test=Speed zig-xxHash64 >> $O |
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
--- Testing zig-xxHash32 "zig xxHash, 32-bit for x86" POOR | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 2.956 bytes/cycle - 8458.29 MiB/sec @ 3 ghz | |
Alignment 6 - 2.956 bytes/cycle - 8458.59 MiB/sec @ 3 ghz | |
Alignment 5 - 2.953 bytes/cycle - 8448.95 MiB/sec @ 3 ghz | |
Alignment 4 - 2.953 bytes/cycle - 8448.04 MiB/sec @ 3 ghz | |
Alignment 3 - 2.946 bytes/cycle - 8429.10 MiB/sec @ 3 ghz | |
Alignment 2 - 2.949 bytes/cycle - 8438.37 MiB/sec @ 3 ghz | |
Alignment 1 - 2.954 bytes/cycle - 8450.94 MiB/sec @ 3 ghz | |
Alignment 0 - 2.956 bytes/cycle - 8456.29 MiB/sec @ 3 ghz | |
Average - 2.953 bytes/cycle - 8448.57 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 21.00 cycles/hash | |
Small key speed test - 2-byte keys - 24.00 cycles/hash | |
Small key speed test - 3-byte keys - 28.99 cycles/hash | |
Small key speed test - 4-byte keys - 21.00 cycles/hash | |
Small key speed test - 5-byte keys - 25.00 cycles/hash | |
Small key speed test - 6-byte keys - 28.00 cycles/hash | |
Small key speed test - 7-byte keys - 33.00 cycles/hash | |
Small key speed test - 8-byte keys - 24.24 cycles/hash | |
Small key speed test - 9-byte keys - 28.98 cycles/hash | |
Small key speed test - 10-byte keys - 32.00 cycles/hash | |
Small key speed test - 11-byte keys - 36.87 cycles/hash | |
Small key speed test - 12-byte keys - 29.00 cycles/hash | |
Small key speed test - 13-byte keys - 32.80 cycles/hash | |
Small key speed test - 14-byte keys - 36.00 cycles/hash | |
Small key speed test - 15-byte keys - 40.19 cycles/hash | |
Small key speed test - 16-byte keys - 32.00 cycles/hash | |
Small key speed test - 17-byte keys - 35.57 cycles/hash | |
Small key speed test - 18-byte keys - 39.97 cycles/hash | |
Small key speed test - 19-byte keys - 43.14 cycles/hash | |
Small key speed test - 20-byte keys - 36.26 cycles/hash | |
Small key speed test - 21-byte keys - 40.28 cycles/hash | |
Small key speed test - 22-byte keys - 42.00 cycles/hash | |
Small key speed test - 23-byte keys - 46.88 cycles/hash | |
Small key speed test - 24-byte keys - 39.99 cycles/hash | |
Small key speed test - 25-byte keys - 43.00 cycles/hash | |
Small key speed test - 26-byte keys - 46.00 cycles/hash | |
Small key speed test - 27-byte keys - 50.99 cycles/hash | |
Small key speed test - 28-byte keys - 43.21 cycles/hash | |
Small key speed test - 29-byte keys - 46.62 cycles/hash | |
Small key speed test - 30-byte keys - 50.24 cycles/hash | |
Small key speed test - 31-byte keys - 54.00 cycles/hash | |
Average 36.491 cycles/hash | |
--- Testing zig-xxHash64 "zig xxHash, 64-bit" GOOD | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 3.730 bytes/cycle - 10671.27 MiB/sec @ 3 ghz | |
Alignment 6 - 3.730 bytes/cycle - 10671.12 MiB/sec @ 3 ghz | |
Alignment 5 - 3.730 bytes/cycle - 10671.26 MiB/sec @ 3 ghz | |
Alignment 4 - 3.730 bytes/cycle - 10671.18 MiB/sec @ 3 ghz | |
Alignment 3 - 3.730 bytes/cycle - 10671.13 MiB/sec @ 3 ghz | |
Alignment 2 - 3.730 bytes/cycle - 10671.00 MiB/sec @ 3 ghz | |
Alignment 1 - 3.730 bytes/cycle - 10671.11 MiB/sec @ 3 ghz | |
Alignment 0 - 3.730 bytes/cycle - 10671.26 MiB/sec @ 3 ghz | |
Average - 3.730 bytes/cycle - 10671.17 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 21.00 cycles/hash | |
Small key speed test - 2-byte keys - 24.62 cycles/hash | |
Small key speed test - 3-byte keys - 28.76 cycles/hash | |
Small key speed test - 4-byte keys - 22.00 cycles/hash | |
Small key speed test - 5-byte keys - 25.00 cycles/hash | |
Small key speed test - 6-byte keys - 30.00 cycles/hash | |
Small key speed test - 7-byte keys - 33.00 cycles/hash | |
Small key speed test - 8-byte keys - 25.00 cycles/hash | |
Small key speed test - 9-byte keys - 28.69 cycles/hash | |
Small key speed test - 10-byte keys - 32.00 cycles/hash | |
Small key speed test - 11-byte keys - 36.00 cycles/hash | |
Small key speed test - 12-byte keys - 29.13 cycles/hash | |
Small key speed test - 13-byte keys - 34.00 cycles/hash | |
Small key speed test - 14-byte keys - 37.00 cycles/hash | |
Small key speed test - 15-byte keys - 41.00 cycles/hash | |
Small key speed test - 16-byte keys - 30.00 cycles/hash | |
Small key speed test - 17-byte keys - 33.00 cycles/hash | |
Small key speed test - 18-byte keys - 37.00 cycles/hash | |
Small key speed test - 19-byte keys - 41.00 cycles/hash | |
Small key speed test - 20-byte keys - 34.00 cycles/hash | |
Small key speed test - 21-byte keys - 38.00 cycles/hash | |
Small key speed test - 22-byte keys - 42.00 cycles/hash | |
Small key speed test - 23-byte keys - 46.00 cycles/hash | |
Small key speed test - 24-byte keys - 34.00 cycles/hash | |
Small key speed test - 25-byte keys - 38.00 cycles/hash | |
Small key speed test - 26-byte keys - 42.72 cycles/hash | |
Small key speed test - 27-byte keys - 46.00 cycles/hash | |
Small key speed test - 28-byte keys - 39.00 cycles/hash | |
Small key speed test - 29-byte keys - 43.18 cycles/hash | |
Small key speed test - 30-byte keys - 46.00 cycles/hash | |
Small key speed test - 31-byte keys - 50.00 cycles/hash | |
Average 35.068 cycles/hash | |
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
--- Testing zig-xxHash32 "zig xxHash, 32-bit for x86" POOR | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 2.933 bytes/cycle - 8391.90 MiB/sec @ 3 ghz | |
Alignment 6 - 2.933 bytes/cycle - 8390.57 MiB/sec @ 3 ghz | |
Alignment 5 - 2.933 bytes/cycle - 8392.05 MiB/sec @ 3 ghz | |
Alignment 4 - 2.933 bytes/cycle - 8391.16 MiB/sec @ 3 ghz | |
Alignment 3 - 2.933 bytes/cycle - 8392.75 MiB/sec @ 3 ghz | |
Alignment 2 - 2.933 bytes/cycle - 8392.05 MiB/sec @ 3 ghz | |
Alignment 1 - 2.933 bytes/cycle - 8392.62 MiB/sec @ 3 ghz | |
Alignment 0 - 2.937 bytes/cycle - 8401.79 MiB/sec @ 3 ghz | |
Average - 2.934 bytes/cycle - 8393.11 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 27.00 cycles/hash | |
Small key speed test - 2-byte keys - 31.23 cycles/hash | |
Small key speed test - 3-byte keys - 36.69 cycles/hash | |
Small key speed test - 4-byte keys - 22.00 cycles/hash | |
Small key speed test - 5-byte keys - 27.00 cycles/hash | |
Small key speed test - 6-byte keys - 31.00 cycles/hash | |
Small key speed test - 7-byte keys - 35.00 cycles/hash | |
Small key speed test - 8-byte keys - 31.81 cycles/hash | |
Small key speed test - 9-byte keys - 47.84 cycles/hash | |
Small key speed test - 10-byte keys - 51.60 cycles/hash | |
Small key speed test - 11-byte keys - 56.20 cycles/hash | |
Small key speed test - 12-byte keys - 35.00 cycles/hash | |
Small key speed test - 13-byte keys - 46.95 cycles/hash | |
Small key speed test - 14-byte keys - 51.00 cycles/hash | |
Small key speed test - 15-byte keys - 55.95 cycles/hash | |
Small key speed test - 16-byte keys - 41.59 cycles/hash | |
Small key speed test - 17-byte keys - 45.41 cycles/hash | |
Small key speed test - 18-byte keys - 48.58 cycles/hash | |
Small key speed test - 19-byte keys - 52.99 cycles/hash | |
Small key speed test - 20-byte keys - 44.00 cycles/hash | |
Small key speed test - 21-byte keys - 48.54 cycles/hash | |
Small key speed test - 22-byte keys - 52.00 cycles/hash | |
Small key speed test - 23-byte keys - 56.87 cycles/hash | |
Small key speed test - 24-byte keys - 49.94 cycles/hash | |
Small key speed test - 25-byte keys - 54.99 cycles/hash | |
Small key speed test - 26-byte keys - 58.21 cycles/hash | |
Small key speed test - 27-byte keys - 62.00 cycles/hash | |
Small key speed test - 28-byte keys - 52.96 cycles/hash | |
Small key speed test - 29-byte keys - 56.98 cycles/hash | |
Small key speed test - 30-byte keys - 60.00 cycles/hash | |
Small key speed test - 31-byte keys - 64.99 cycles/hash | |
Average 46.334 cycles/hash | |
--- Testing zig-xxHash64 "zig xxHash, 64-bit" GOOD | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 3.678 bytes/cycle - 10522.95 MiB/sec @ 3 ghz | |
Alignment 6 - 3.677 bytes/cycle - 10519.21 MiB/sec @ 3 ghz | |
Alignment 5 - 3.675 bytes/cycle - 10515.12 MiB/sec @ 3 ghz | |
Alignment 4 - 3.669 bytes/cycle - 10496.67 MiB/sec @ 3 ghz | |
Alignment 3 - 3.658 bytes/cycle - 10466.33 MiB/sec @ 3 ghz | |
Alignment 2 - 3.666 bytes/cycle - 10489.16 MiB/sec @ 3 ghz | |
Alignment 1 - 3.730 bytes/cycle - 10670.46 MiB/sec @ 3 ghz | |
Alignment 0 - 3.702 bytes/cycle - 10592.73 MiB/sec @ 3 ghz | |
Average - 3.682 bytes/cycle - 10534.08 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 26.41 cycles/hash | |
Small key speed test - 2-byte keys - 31.00 cycles/hash | |
Small key speed test - 3-byte keys - 35.00 cycles/hash | |
Small key speed test - 4-byte keys - 24.00 cycles/hash | |
Small key speed test - 5-byte keys - 26.91 cycles/hash | |
Small key speed test - 6-byte keys - 31.52 cycles/hash | |
Small key speed test - 7-byte keys - 34.80 cycles/hash | |
Small key speed test - 8-byte keys - 25.97 cycles/hash | |
Small key speed test - 9-byte keys - 47.81 cycles/hash | |
Small key speed test - 10-byte keys - 51.68 cycles/hash | |
Small key speed test - 11-byte keys - 57.66 cycles/hash | |
Small key speed test - 12-byte keys - 48.90 cycles/hash | |
Small key speed test - 13-byte keys - 52.98 cycles/hash | |
Small key speed test - 14-byte keys - 57.22 cycles/hash | |
Small key speed test - 15-byte keys - 61.00 cycles/hash | |
Small key speed test - 16-byte keys - 38.79 cycles/hash | |
Small key speed test - 17-byte keys - 59.76 cycles/hash | |
Small key speed test - 18-byte keys - 63.75 cycles/hash | |
Small key speed test - 19-byte keys - 67.54 cycles/hash | |
Small key speed test - 20-byte keys - 54.43 cycles/hash | |
Small key speed test - 21-byte keys - 64.00 cycles/hash | |
Small key speed test - 22-byte keys - 68.96 cycles/hash | |
Small key speed test - 23-byte keys - 73.00 cycles/hash | |
Small key speed test - 24-byte keys - 42.81 cycles/hash | |
Small key speed test - 25-byte keys - 54.79 cycles/hash | |
Small key speed test - 26-byte keys - 58.00 cycles/hash | |
Small key speed test - 27-byte keys - 62.45 cycles/hash | |
Small key speed test - 28-byte keys - 54.00 cycles/hash | |
Small key speed test - 29-byte keys - 57.99 cycles/hash | |
Small key speed test - 30-byte keys - 61.99 cycles/hash | |
Small key speed test - 31-byte keys - 66.85 cycles/hash | |
Average 50.386 cycles/hash | |
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
--- Testing xxHash32 "xxHash, 32-bit for x86" POOR | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 2.555 bytes/cycle - 7309.69 MiB/sec @ 3 ghz | |
Alignment 6 - 2.552 bytes/cycle - 7302.04 MiB/sec @ 3 ghz | |
Alignment 5 - 2.554 bytes/cycle - 7305.99 MiB/sec @ 3 ghz | |
Alignment 4 - 2.552 bytes/cycle - 7302.04 MiB/sec @ 3 ghz | |
Alignment 3 - 2.552 bytes/cycle - 7301.98 MiB/sec @ 3 ghz | |
Alignment 2 - 2.552 bytes/cycle - 7301.98 MiB/sec @ 3 ghz | |
Alignment 1 - 2.552 bytes/cycle - 7302.00 MiB/sec @ 3 ghz | |
Alignment 0 - 2.552 bytes/cycle - 7302.01 MiB/sec @ 3 ghz | |
Average - 2.553 bytes/cycle - 7303.47 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 20.00 cycles/hash | |
Small key speed test - 2-byte keys - 24.54 cycles/hash | |
Small key speed test - 3-byte keys - 28.74 cycles/hash | |
Small key speed test - 4-byte keys - 20.51 cycles/hash | |
Small key speed test - 5-byte keys - 24.53 cycles/hash | |
Small key speed test - 6-byte keys - 28.65 cycles/hash | |
Small key speed test - 7-byte keys - 33.00 cycles/hash | |
Small key speed test - 8-byte keys - 24.00 cycles/hash | |
Small key speed test - 9-byte keys - 28.69 cycles/hash | |
Small key speed test - 10-byte keys - 33.00 cycles/hash | |
Small key speed test - 11-byte keys - 36.00 cycles/hash | |
Small key speed test - 12-byte keys - 28.60 cycles/hash | |
Small key speed test - 13-byte keys - 33.00 cycles/hash | |
Small key speed test - 14-byte keys - 36.00 cycles/hash | |
Small key speed test - 15-byte keys - 40.00 cycles/hash | |
Small key speed test - 16-byte keys - 28.00 cycles/hash | |
Small key speed test - 17-byte keys - 35.00 cycles/hash | |
Small key speed test - 18-byte keys - 39.00 cycles/hash | |
Small key speed test - 19-byte keys - 43.00 cycles/hash | |
Small key speed test - 20-byte keys - 35.45 cycles/hash | |
Small key speed test - 21-byte keys - 39.00 cycles/hash | |
Small key speed test - 22-byte keys - 43.00 cycles/hash | |
Small key speed test - 23-byte keys - 47.00 cycles/hash | |
Small key speed test - 24-byte keys - 39.00 cycles/hash | |
Small key speed test - 25-byte keys - 43.00 cycles/hash | |
Small key speed test - 26-byte keys - 48.00 cycles/hash | |
Small key speed test - 27-byte keys - 51.00 cycles/hash | |
Small key speed test - 28-byte keys - 43.00 cycles/hash | |
Small key speed test - 29-byte keys - 47.00 cycles/hash | |
Small key speed test - 30-byte keys - 52.00 cycles/hash | |
Small key speed test - 31-byte keys - 56.13 cycles/hash | |
Average 36.382 cycles/hash | |
--- Testing xxHash64 "xxHash, 64-bit" GOOD | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 3.691 bytes/cycle - 10559.22 MiB/sec @ 3 ghz | |
Alignment 6 - 3.691 bytes/cycle - 10559.71 MiB/sec @ 3 ghz | |
Alignment 5 - 3.691 bytes/cycle - 10559.16 MiB/sec @ 3 ghz | |
Alignment 4 - 3.691 bytes/cycle - 10559.17 MiB/sec @ 3 ghz | |
Alignment 3 - 3.691 bytes/cycle - 10559.17 MiB/sec @ 3 ghz | |
Alignment 2 - 3.691 bytes/cycle - 10559.21 MiB/sec @ 3 ghz | |
Alignment 1 - 3.691 bytes/cycle - 10559.14 MiB/sec @ 3 ghz | |
Alignment 0 - 3.691 bytes/cycle - 10559.19 MiB/sec @ 3 ghz | |
Average - 3.691 bytes/cycle - 10559.25 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 20.00 cycles/hash | |
Small key speed test - 2-byte keys - 25.00 cycles/hash | |
Small key speed test - 3-byte keys - 29.00 cycles/hash | |
Small key speed test - 4-byte keys - 21.00 cycles/hash | |
Small key speed test - 5-byte keys - 25.00 cycles/hash | |
Small key speed test - 6-byte keys - 29.00 cycles/hash | |
Small key speed test - 7-byte keys - 34.00 cycles/hash | |
Small key speed test - 8-byte keys - 25.00 cycles/hash | |
Small key speed test - 9-byte keys - 28.00 cycles/hash | |
Small key speed test - 10-byte keys - 32.69 cycles/hash | |
Small key speed test - 11-byte keys - 36.81 cycles/hash | |
Small key speed test - 12-byte keys - 29.00 cycles/hash | |
Small key speed test - 13-byte keys - 32.66 cycles/hash | |
Small key speed test - 14-byte keys - 36.84 cycles/hash | |
Small key speed test - 15-byte keys - 41.00 cycles/hash | |
Small key speed test - 16-byte keys - 29.21 cycles/hash | |
Small key speed test - 17-byte keys - 33.00 cycles/hash | |
Small key speed test - 18-byte keys - 36.80 cycles/hash | |
Small key speed test - 19-byte keys - 41.00 cycles/hash | |
Small key speed test - 20-byte keys - 33.00 cycles/hash | |
Small key speed test - 21-byte keys - 37.00 cycles/hash | |
Small key speed test - 22-byte keys - 41.00 cycles/hash | |
Small key speed test - 23-byte keys - 46.84 cycles/hash | |
Small key speed test - 24-byte keys - 33.00 cycles/hash | |
Small key speed test - 25-byte keys - 37.00 cycles/hash | |
Small key speed test - 26-byte keys - 43.00 cycles/hash | |
Small key speed test - 27-byte keys - 46.00 cycles/hash | |
Small key speed test - 28-byte keys - 38.00 cycles/hash | |
Small key speed test - 29-byte keys - 43.00 cycles/hash | |
Small key speed test - 30-byte keys - 46.74 cycles/hash | |
Small key speed test - 31-byte keys - 50.98 cycles/hash | |
Average 34.857 cycles/hash | |
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
--- Testing zig-xxHash32 "zig xxHash, 32-bit for x86" POOR | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 2.986 bytes/cycle - 8543.81 MiB/sec @ 3 ghz | |
Alignment 6 - 2.986 bytes/cycle - 8543.68 MiB/sec @ 3 ghz | |
Alignment 5 - 2.986 bytes/cycle - 8543.22 MiB/sec @ 3 ghz | |
Alignment 4 - 2.987 bytes/cycle - 8546.79 MiB/sec @ 3 ghz | |
Alignment 3 - 2.986 bytes/cycle - 8544.03 MiB/sec @ 3 ghz | |
Alignment 2 - 2.986 bytes/cycle - 8541.90 MiB/sec @ 3 ghz | |
Alignment 1 - 2.984 bytes/cycle - 8537.50 MiB/sec @ 3 ghz | |
Alignment 0 - 2.987 bytes/cycle - 8546.40 MiB/sec @ 3 ghz | |
Average - 2.986 bytes/cycle - 8543.41 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 20.00 cycles/hash | |
Small key speed test - 2-byte keys - 24.00 cycles/hash | |
Small key speed test - 3-byte keys - 28.59 cycles/hash | |
Small key speed test - 4-byte keys - 20.00 cycles/hash | |
Small key speed test - 5-byte keys - 24.00 cycles/hash | |
Small key speed test - 6-byte keys - 28.00 cycles/hash | |
Small key speed test - 7-byte keys - 32.00 cycles/hash | |
Small key speed test - 8-byte keys - 24.00 cycles/hash | |
Small key speed test - 9-byte keys - 28.00 cycles/hash | |
Small key speed test - 10-byte keys - 32.00 cycles/hash | |
Small key speed test - 11-byte keys - 35.61 cycles/hash | |
Small key speed test - 12-byte keys - 28.00 cycles/hash | |
Small key speed test - 13-byte keys - 32.00 cycles/hash | |
Small key speed test - 14-byte keys - 35.57 cycles/hash | |
Small key speed test - 15-byte keys - 39.00 cycles/hash | |
Small key speed test - 16-byte keys - 31.91 cycles/hash | |
Small key speed test - 17-byte keys - 35.50 cycles/hash | |
Small key speed test - 18-byte keys - 39.00 cycles/hash | |
Small key speed test - 19-byte keys - 42.00 cycles/hash | |
Small key speed test - 20-byte keys - 35.44 cycles/hash | |
Small key speed test - 21-byte keys - 39.00 cycles/hash | |
Small key speed test - 22-byte keys - 42.00 cycles/hash | |
Small key speed test - 23-byte keys - 46.00 cycles/hash | |
Small key speed test - 24-byte keys - 39.00 cycles/hash | |
Small key speed test - 25-byte keys - 42.00 cycles/hash | |
Small key speed test - 26-byte keys - 46.00 cycles/hash | |
Small key speed test - 27-byte keys - 49.42 cycles/hash | |
Small key speed test - 28-byte keys - 42.00 cycles/hash | |
Small key speed test - 29-byte keys - 46.00 cycles/hash | |
Small key speed test - 30-byte keys - 49.00 cycles/hash | |
Small key speed test - 31-byte keys - 53.83 cycles/hash | |
Average 35.770 cycles/hash | |
--- Testing zig-xxHash64 "zig xxHash, 64-bit" GOOD | |
[[[ Speed Tests ]]] | |
Bulk speed test - 262144-byte keys | |
Alignment 7 - 3.671 bytes/cycle - 10502.75 MiB/sec @ 3 ghz | |
Alignment 6 - 3.671 bytes/cycle - 10502.74 MiB/sec @ 3 ghz | |
Alignment 5 - 3.671 bytes/cycle - 10502.76 MiB/sec @ 3 ghz | |
Alignment 4 - 3.671 bytes/cycle - 10502.75 MiB/sec @ 3 ghz | |
Alignment 3 - 3.671 bytes/cycle - 10502.76 MiB/sec @ 3 ghz | |
Alignment 2 - 3.671 bytes/cycle - 10502.75 MiB/sec @ 3 ghz | |
Alignment 1 - 3.671 bytes/cycle - 10502.74 MiB/sec @ 3 ghz | |
Alignment 0 - 3.671 bytes/cycle - 10503.46 MiB/sec @ 3 ghz | |
Average - 3.671 bytes/cycle - 10502.84 MiB/sec @ 3 ghz | |
Small key speed test - 1-byte keys - 21.15 cycles/hash | |
Small key speed test - 2-byte keys - 25.00 cycles/hash | |
Small key speed test - 3-byte keys - 29.00 cycles/hash | |
Small key speed test - 4-byte keys - 22.00 cycles/hash | |
Small key speed test - 5-byte keys - 25.98 cycles/hash | |
Small key speed test - 6-byte keys - 29.00 cycles/hash | |
Small key speed test - 7-byte keys - 34.00 cycles/hash | |
Small key speed test - 8-byte keys - 25.00 cycles/hash | |
Small key speed test - 9-byte keys - 29.00 cycles/hash | |
Small key speed test - 10-byte keys - 32.82 cycles/hash | |
Small key speed test - 11-byte keys - 36.94 cycles/hash | |
Small key speed test - 12-byte keys - 29.22 cycles/hash | |
Small key speed test - 13-byte keys - 33.32 cycles/hash | |
Small key speed test - 14-byte keys - 37.00 cycles/hash | |
Small key speed test - 15-byte keys - 41.00 cycles/hash | |
Small key speed test - 16-byte keys - 30.00 cycles/hash | |
Small key speed test - 17-byte keys - 33.89 cycles/hash | |
Small key speed test - 18-byte keys - 37.23 cycles/hash | |
Small key speed test - 19-byte keys - 41.00 cycles/hash | |
Small key speed test - 20-byte keys - 36.00 cycles/hash | |
Small key speed test - 21-byte keys - 38.00 cycles/hash | |
Small key speed test - 22-byte keys - 42.00 cycles/hash | |
Small key speed test - 23-byte keys - 47.00 cycles/hash | |
Small key speed test - 24-byte keys - 34.00 cycles/hash | |
Small key speed test - 25-byte keys - 39.22 cycles/hash | |
Small key speed test - 26-byte keys - 43.00 cycles/hash | |
Small key speed test - 27-byte keys - 46.00 cycles/hash | |
Small key speed test - 28-byte keys - 39.00 cycles/hash | |
Small key speed test - 29-byte keys - 44.00 cycles/hash | |
Small key speed test - 30-byte keys - 47.00 cycles/hash | |
Small key speed test - 31-byte keys - 51.00 cycles/hash | |
Average 35.444 cycles/hash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment