Last active
August 11, 2025 02:37
-
-
Save scivision/6035c8ca9995488c7da1bbf148cf7ebc to your computer and use it in GitHub Desktop.
benchmarks from Lemire 2025/08/08 blog
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 4.56 | 26.21 | 2.74 | | |
1: | 8192 | 4.61 | 59.72 | 2.70 | | |
1: | 65536 | 4.75 | 54.45 | 2.68 | | |
1: | 524288 | 4.77 | 55.61 | 2.69 | | |
1: | 2097152 | 4.78 | 26.14 | 2.69 | | |
1/2 Test #1: BenchmarkNative .................. Passed 37.91 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 2.78 | 26.02 | 2.69 | | |
2: | 8192 | 2.84 | 59.43 | 2.75 | | |
2: | 65536 | 2.84 | 54.33 | 2.66 | | |
2: | 524288 | 2.86 | 55.58 | 2.68 | | |
2: | 2097152 | 2.86 | 26.16 | 2.69 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 39.17 sec |
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 2.81 | 25.93 | 2.72 | | |
1: | 8192 | 2.83 | 58.30 | 2.78 | | |
1: | 65536 | 2.85 | 54.44 | 2.68 | | |
1: | 524288 | 2.85 | 55.35 | 2.70 | | |
1: | 2097152 | 2.86 | 26.04 | 2.68 | | |
1/2 Test #1: BenchmarkNative .................. Passed 39.49 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 2.79 | 27.94 | 2.65 | | |
2: | 8192 | 2.84 | 60.69 | 2.71 | | |
2: | 65536 | 2.86 | 54.82 | 2.69 | | |
2: | 524288 | 2.86 | 55.62 | 2.70 | | |
2: | 2097152 | 2.87 | 26.03 | 2.69 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 41.99 sec |
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 4.54 | 28.21 | 1.77 | | |
1: | 8192 | 4.74 | 59.91 | 1.81 | | |
1: | 65536 | 4.77 | 55.75 | 1.80 | | |
1: | 524288 | 4.76 | 54.03 | 1.80 | | |
1: | 2097152 | 4.81 | 26.60 | 1.81 | | |
1/2 Test #1: BenchmarkNative .................. Passed 37.60 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 2.82 | 27.74 | 1.74 | | |
2: | 8192 | 2.88 | 58.47 | 1.81 | | |
2: | 65536 | 2.88 | 54.85 | 1.79 | | |
2: | 524288 | 2.87 | 55.80 | 1.80 | | |
2: | 2097152 | 2.86 | 26.24 | 1.79 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 46.69 sec |
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 2.81 | 24.62 | 2.79 | | |
1: | 8192 | 2.85 | 69.95 | 3.08 | | |
1: | 65536 | 2.89 | 66.96 | 2.67 | | |
1: | 524288 | 2.85 | 68.01 | 2.65 | | |
1: | 2097152 | 2.85 | 26.33 | 2.62 | | |
1/2 Test #1: BenchmarkNative .................. Passed 48.49 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 2.81 | 24.27 | 2.74 | | |
2: | 8192 | 2.82 | 70.93 | 2.94 | | |
2: | 65536 | 2.86 | 67.63 | 2.68 | | |
2: | 524288 | 2.85 | 64.53 | 2.66 | | |
2: | 2097152 | 2.82 | 26.84 | 2.65 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 41.72 sec |
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 48.19 | 74.13 | 3.28 | | |
1: | 8192 | 47.21 | 83.98 | 3.40 | | |
1: | 65536 | 46.63 | 90.64 | 3.42 | | |
1: | 524288 | 46.36 | 90.75 | 3.32 | | |
1: | 2097152 | 46.38 | 91.11 | 3.34 | | |
1/2 Test #1: BenchmarkNative .................. Passed 26.71 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 48.46 | 74.14 | 3.25 | | |
2: | 8192 | 46.99 | 83.85 | 3.30 | | |
2: | 65536 | 46.53 | 90.68 | 3.32 | | |
2: | 524288 | 46.34 | 90.78 | 3.32 | | |
2: | 2097152 | 46.39 | 91.12 | 3.34 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 24.26 sec |
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 49.81 | 74.14 | 3.28 | | |
1: | 8192 | 47.80 | 83.97 | 3.39 | | |
1: | 65536 | 46.69 | 90.58 | 3.34 | | |
1: | 524288 | 46.35 | 90.67 | 3.38 | | |
1: | 2097152 | 46.38 | 91.08 | 3.33 | | |
1/2 Test #1: BenchmarkNative .................. Passed 24.23 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 48.58 | 74.11 | 3.28 | | |
2: | 8192 | 47.19 | 83.86 | 3.31 | | |
2: | 65536 | 46.63 | 90.68 | 3.33 | | |
2: | 524288 | 46.34 | 90.71 | 3.33 | | |
2: | 2097152 | 46.38 | 90.73 | 3.32 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 24.25 sec |
This file contains hidden or 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
1: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
1: |--------------------|------------------|-----------------------|-------------------| | |
1: | 1024 | 49.85 | 80.69 | 3.31 | | |
1: | 8192 | 48.53 | 86.69 | 3.47 | | |
1: | 65536 | 48.08 | 95.46 | 3.50 | | |
1: | 524288 | 46.31 | 90.95 | 3.50 | | |
1: | 2097152 | 46.28 | 91.80 | 3.50 | | |
1/2 Test #1: BenchmarkNative .................. Passed 23.22 sec | |
2: | Input Size (bytes) | std::find (GB/s) | simdutf::find (GB/s) | naive_find (GB/s) | | |
2: |--------------------|------------------|-----------------------|-------------------| | |
2: | 1024 | 48.48 | 79.88 | 3.31 | | |
2: | 8192 | 48.33 | 86.69 | 3.48 | | |
2: | 65536 | 46.73 | 95.43 | 3.50 | | |
2: | 524288 | 46.31 | 90.95 | 3.50 | | |
2: | 2097152 | 46.76 | 92.50 | 3.50 | | |
2/2 Test #2: BenchmarkGeneric ................. Passed 26.34 sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment