chaokunyang opened a new issue, #2806:
URL: https://github.com/apache/fory/issues/2806

   ### Feature Request
   
   _No response_
   
   ### Is your feature request related to a problem? Please describe
   
   SIMD memory copy is always slow than default memory copy provided by rust.
   ```rust
   fast_vs_simd/fast_path/10
                           time:   [14.467 ns 14.526 ns 14.594 ns]
   Found 5 outliers among 100 measurements (5.00%)
     1 (1.00%) high mild
     4 (4.00%) high severe
   fast_vs_simd/simd_path/10
                           time:   [14.915 ns 15.024 ns 15.189 ns]
   Found 3 outliers among 100 measurements (3.00%)
     1 (1.00%) high mild
     2 (2.00%) high severe
   fast_vs_simd/fast_path/50
                           time:   [15.675 ns 15.739 ns 15.829 ns]
   Found 4 outliers among 100 measurements (4.00%)
     1 (1.00%) low mild
     2 (2.00%) high mild
     1 (1.00%) high severe
   fast_vs_simd/simd_path/50
                           time:   [17.509 ns 17.585 ns 17.670 ns]
   Found 5 outliers among 100 measurements (5.00%)
     1 (1.00%) low mild
     1 (1.00%) high mild
     3 (3.00%) high severe
   fast_vs_simd/fast_path/100
                           time:   [14.052 ns 14.078 ns 14.106 ns]
   Found 2 outliers among 100 measurements (2.00%)
     2 (2.00%) high mild
   fast_vs_simd/simd_path/100
                           time:   [16.426 ns 16.503 ns 16.586 ns]
   Found 7 outliers among 100 measurements (7.00%)
     5 (5.00%) high mild
     2 (2.00%) high severe
   fast_vs_simd/fast_path/200
                           time:   [15.234 ns 15.276 ns 15.323 ns]
   Found 4 outliers among 100 measurements (4.00%)
     3 (3.00%) high mild
     1 (1.00%) high severe
   fast_vs_simd/simd_path/200
                           time:   [16.974 ns 17.062 ns 17.161 ns]
   Found 6 outliers among 100 measurements (6.00%)
     6 (6.00%) high mild
   fast_vs_simd/fast_path/500
                           time:   [33.373 ns 33.622 ns 33.884 ns]
   Found 4 outliers among 100 measurements (4.00%)
     4 (4.00%) high mild
   fast_vs_simd/simd_path/500
                           time:   [34.395 ns 34.517 ns 34.648 ns]
   Found 8 outliers among 100 measurements (8.00%)
     5 (5.00%) high mild
     3 (3.00%) high severe
   fast_vs_simd/fast_path/800
                           time:   [38.490 ns 38.661 ns 38.832 ns]
   Found 3 outliers among 100 measurements (3.00%)
     3 (3.00%) high mild
   fast_vs_simd/simd_path/800
                           time:   [43.252 ns 43.735 ns 44.233 ns]
   fast_vs_simd/fast_path/999
                           time:   [41.872 ns 42.021 ns 42.185 ns]
   Found 1 outliers among 100 measurements (1.00%)
     1 (1.00%) high mild
   fast_vs_simd/simd_path/999
                           time:   [46.700 ns 46.942 ns 47.255 ns]
   Found 14 outliers among 100 measurements (14.00%)
     3 (3.00%) high mild
     11 (11.00%) high severe
   Benchmarking fast_vs_simd/fast_path/1000: Collecting 100 samples in 
estimated 5.0001 s (117M iterations
   fast_vs_simd/fast_path/1000
                           time:   [42.523 ns 42.945 ns 43.401 ns]
   Found 6 outliers among 100 measurements (6.00%)
     5 (5.00%) high mild
     1 (1.00%) high severe
   Benchmarking fast_vs_simd/simd_path/1000: Collecting 100 samples in 
estimated 5.0001 s (110M iterations
   fast_vs_simd/simd_path/1000
                           time:   [44.743 ns 44.854 ns 44.974 ns]
   Found 5 outliers among 100 measurements (5.00%)
     2 (2.00%) low mild
     2 (2.00%) high mild
     1 (1.00%) high severe
   Benchmarking fast_vs_simd/fast_path/1001: Collecting 100 samples in 
estimated 5.0000 s (120M iterations
   fast_vs_simd/fast_path/1001
                           time:   [41.433 ns 41.821 ns 42.264 ns]
   Found 6 outliers among 100 measurements (6.00%)
     2 (2.00%) low mild
     1 (1.00%) high mild
     3 (3.00%) high severe
   Benchmarking fast_vs_simd/simd_path/1001: Collecting 100 samples in 
estimated 5.0001 s (110M iterations
   fast_vs_simd/simd_path/1001
                           time:   [44.182 ns 44.530 ns 44.887 ns]
   Found 2 outliers among 100 measurements (2.00%)
     1 (1.00%) low mild
     1 (1.00%) high severe
   Benchmarking fast_vs_simd/fast_path/1500: Collecting 100 samples in 
estimated 5.0001 s (184M iterations
   fast_vs_simd/fast_path/1500
                           time:   [27.657 ns 27.779 ns 27.891 ns]
   Found 1 outliers among 100 measurements (1.00%)
     1 (1.00%) low mild
   Benchmarking fast_vs_simd/simd_path/1500: Collecting 100 samples in 
estimated 5.0001 s (173M iterations
   fast_vs_simd/simd_path/1500
                           time:   [29.227 ns 29.367 ns 29.505 ns]
   Found 1 outliers among 100 measurements (1.00%)
     1 (1.00%) high mild
   Benchmarking fast_vs_simd/fast_path/2000: Collecting 100 samples in 
estimated 5.0001 s (159M iterations
   fast_vs_simd/fast_path/2000
                           time:   [31.787 ns 31.955 ns 32.118 ns]
   Benchmarking fast_vs_simd/simd_path/2000: Collecting 100 samples in 
estimated 5.0001 s (155M iterations
   fast_vs_simd/simd_path/2000
   ```
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to