neilconway commented on PR #20623:
URL: https://github.com/apache/datafusion/pull/20623#issuecomment-3977630417

   Benchmarks:
   
   ```
     array_union:
   
     ┌──────────────────┬─────────┬─────────┬────────┐
     │     Scenario     │ Before  │  After  │ Change │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ high_overlap/10  │ 237 µs  │ 208 µs  │ -12.3% │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ high_overlap/50  │ 1.06 ms │ 886 µs  │ -16.3% │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ high_overlap/100 │ 2.02 ms │ 1.70 ms │ -16.1% │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ low_overlap/10   │ 269 µs  │ 224 µs  │ -18.0% │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ low_overlap/50   │ 1.24 ms │ 1.00 ms │ -20.9% │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ low_overlap/100  │ 2.18 ms │ 1.73 ms │ -19.6% │
     └──────────────────┴─────────┴─────────┴────────┘
   
     array_intersect:
   
     ┌──────────────────┬─────────┬─────────┬────────┐
     │     Scenario     │ Before  │  After  │ Change │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ high_overlap/10  │ 216 µs  │ 199 µs  │ -8.3%  │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ high_overlap/50  │ 1.11 ms │ 1.01 ms │ -8.4%  │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ high_overlap/100 │ 2.18 ms │ 1.99 ms │ -8.6%  │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ low_overlap/10   │ 176 µs  │ 174 µs  │ -1.6%  │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ low_overlap/50   │ 1.01 ms │ 997 µs  │ -1.4%  │
     ├──────────────────┼─────────┼─────────┼────────┤
     │ low_overlap/100  │ 2.02 ms │ 2.00 ms │ -0.7%  │
     └──────────────────┴─────────┴─────────┴────────┘
   
   array_except:
   
     ┌──────────────────┬─────────┬─────────┬─────────────────────────┐
     │     Scenario     │ Before  │  After  │         Change          │
     ├──────────────────┼─────────┼─────────┼─────────────────────────┤
     │ high_overlap/10  │ 218 µs  │ 212 µs  │ -3.4%                   │
     ├──────────────────┼─────────┼─────────┼─────────────────────────┤
     │ high_overlap/50  │ 908 µs  │ 874 µs  │ -1.5% (not significant) │
     ├──────────────────┼─────────┼─────────┼─────────────────────────┤
     │ high_overlap/100 │ 1.74 ms │ 1.68 ms │ -2.9%                   │
     ├──────────────────┼─────────┼─────────┼─────────────────────────┤
     │ low_overlap/10   │ 250 µs  │ 231 µs  │ -8.1%                   │
     ├──────────────────┼─────────┼─────────┼─────────────────────────┤
     │ low_overlap/50   │ 1.12 ms │ 1.00 ms │ -11.2%                  │
     ├──────────────────┼─────────┼─────────┼─────────────────────────┤
     │ low_overlap/100  │ 2.01 ms │ 1.75 ms │ -11.7%                  │
     └──────────────────┴─────────┴─────────┴─────────────────────────┘
   
   array_distinct:
   
     ┌────────────────────┬──────────┬──────────┬────────┐
     │      Scenario      │  Before  │  After   │ Change │
     ├────────────────────┼──────────┼──────────┼────────┤
     │ high_duplicate/10  │ 69.3 µs  │ 65.6 µs  │ -8.2%  │
     ├────────────────────┼──────────┼──────────┼────────┤
     │ high_duplicate/50  │ 350.0 µs │ 322.2 µs │ -8.9%  │
     ├────────────────────┼──────────┼──────────┼────────┤
     │ high_duplicate/100 │ 671.4 µs │ 624.8 µs │ -7.2%  │
     ├────────────────────┼──────────┼──────────┼────────┤
     │ low_duplicate/10   │ 106.8 µs │ 91.2 µs  │ -15.0% │
     ├────────────────────┼──────────┼──────────┼────────┤
     │ low_duplicate/50   │ 526.3 µs │ 434.3 µs │ -18.1% │
     ├────────────────────┼──────────┼──────────┼────────┤
     │ low_duplicate/100  │ 975.7 µs │ 767.3 µs │ -21.4% │
     └────────────────────┴──────────┴──────────┴────────┘
   ```


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