wumeibanfa commented on PR #59426:
URL: https://github.com/apache/doris/pull/59426#issuecomment-3694532404
use simd + handle 32 byte one time
```
Running ./be/output/lib/benchmark_test
Run on (16 X 200 MHz CPU s)
CPU Caches:
L1 Data 64 KiB (x16)
L1 Instruction 64 KiB (x16)
L2 Unified 512 KiB (x16)
L3 Unified 32768 KiB (x1)
Load Average: 0.96, 1.81, 4.70
---------------------------------------------------------------------------------------------------------------
Benchmark Time
CPU Iterations UserCounters...
---------------------------------------------------------------------------------------------------------------
BM_bytes32_mask_to_bits32_mask/32/repeats:5_mean 1.09 ns
1.09 ns 5 bytes_per_second=27.3451G/s
BM_bytes32_mask_to_bits32_mask/32/repeats:5_median 1.09 ns
1.09 ns 5 bytes_per_second=27.3452G/s
BM_bytes32_mask_to_bits32_mask/32/repeats:5_stddev 0.000 ns
0.000 ns 5 bytes_per_second=2.48125M/s
BM_bytes32_mask_to_bits32_mask/32/repeats:5_cv 0.01 %
0.01 % 5 bytes_per_second=0.01%
BM_bytes32_mask_to_bits32_mask/64/repeats:5_mean 2.18 ns
2.18 ns 5 bytes_per_second=27.3575G/s
BM_bytes32_mask_to_bits32_mask/64/repeats:5_median 2.18 ns
2.18 ns 5 bytes_per_second=27.3937G/s
BM_bytes32_mask_to_bits32_mask/64/repeats:5_stddev 0.005 ns
0.005 ns 5 bytes_per_second=65.1549M/s
BM_bytes32_mask_to_bits32_mask/64/repeats:5_cv 0.23 %
0.23 % 5 bytes_per_second=0.23%
BM_bytes32_mask_to_bits32_mask/256/repeats:5_mean 8.67 ns
8.67 ns 5 bytes_per_second=27.5142G/s
BM_bytes32_mask_to_bits32_mask/256/repeats:5_median 8.67 ns
8.66 ns 5 bytes_per_second=27.5161G/s
BM_bytes32_mask_to_bits32_mask/256/repeats:5_stddev 0.001 ns
0.001 ns 5 bytes_per_second=4.84825M/s
BM_bytes32_mask_to_bits32_mask/256/repeats:5_cv 0.02 %
0.02 % 5 bytes_per_second=0.02%
BM_bytes32_mask_to_bits32_mask/1024/repeats:5_mean 34.7 ns
34.7 ns 5 bytes_per_second=27.4944G/s
BM_bytes32_mask_to_bits32_mask/1024/repeats:5_median 34.7 ns
34.7 ns 5 bytes_per_second=27.4981G/s
BM_bytes32_mask_to_bits32_mask/1024/repeats:5_stddev 0.011 ns
0.011 ns 5 bytes_per_second=8.69048M/s
BM_bytes32_mask_to_bits32_mask/1024/repeats:5_cv 0.03 %
0.03 % 5 bytes_per_second=0.03%
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]