Dandandan commented on issue #7532:
URL: https://github.com/apache/arrow-rs/issues/7532#issuecomment-2895549974

   It gave me some rough code to work with and it's pretty promising: **~3x 
improvement for sorting two f32 colums!**
   
   ```
   lexsort (f32, f32) 2^10 time:   [10.427 µs 10.511 µs 10.636 µs]
                           change: [−62.783% −62.528% −62.225%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 8 outliers among 100 measurements (8.00%)
     3 (3.00%) high mild
     5 (5.00%) high severe
   
   lexsort (f32, f32) 2^12 time:   [44.021 µs 44.111 µs 44.207 µs]
                           change: [−66.312% −66.081% −65.916%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 1 outliers among 100 measurements (1.00%)
     1 (1.00%) high mild
   
   lexsort (f32, f32) nulls 2^10
                           time:   [10.292 µs 10.357 µs 10.471 µs]
                           change: [−64.731% −64.558% −64.340%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 2 outliers among 100 measurements (2.00%)
     2 (2.00%) high severe
   
   lexsort (f32, f32) nulls 2^12
                           time:   [40.983 µs 41.311 µs 41.726 µs]
                           change: [−68.945% −68.599% −68.210%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 13 outliers among 100 measurements (13.00%)
     9 (9.00%) high mild
     4 (4.00%) high severe
   
   lexsort (f32, f32) 2^12 limit 10
                           time:   [14.866 µs 14.955 µs 15.079 µs]
                           change: [−31.880% −30.753% −29.423%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 8 outliers among 100 measurements (8.00%)
     2 (2.00%) high mild
     6 (6.00%) high severe
   
   lexsort (f32, f32) 2^12 limit 100
                           time:   [15.472 µs 15.526 µs 15.612 µs]
                           change: [−34.326% −34.083% −33.757%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 4 outliers among 100 measurements (4.00%)
     2 (2.00%) high mild
     2 (2.00%) high severe
   
   lexsort (f32, f32) 2^12 limit 1000
                           time:   [22.139 µs 22.263 µs 22.444 µs]
                           change: [−52.587% −52.268% −51.968%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 4 outliers among 100 measurements (4.00%)
     1 (1.00%) high mild
     3 (3.00%) high severe
   ```


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

Reply via email to