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

   Benchmarks:
   
   ```
     group                         base                                   target
     -----                         ----                                   ------
     array_distinct_sliced/10      1.72    588.8±8.31µs        ? ?/sec    1.00  
  342.8±8.83µs        ? ?/sec
     array_distinct_sliced/100     1.92      5.6±0.09ms        ? ?/sec    1.00  
    2.9±0.10ms        ? ?/sec
     array_distinct_sliced/50      1.93      2.8±0.06ms        ? ?/sec    1.00  
1469.1±44.20µs        ? ?/sec
     array_except_sliced/10        1.75  1110.5±10.75µs        ? ?/sec    1.00  
  634.5±8.48µs        ? ?/sec
     array_except_sliced/100       4.06     23.2±0.29ms        ? ?/sec    1.00  
    5.7±0.13ms        ? ?/sec
     array_except_sliced/50        1.95      5.6±0.09ms        ? ?/sec    1.00  
    2.9±0.03ms        ? ?/sec
     array_intersect_sliced/10     1.80  1122.6±10.06µs        ? ?/sec    1.00  
 623.3±18.21µs        ? ?/sec
     array_intersect_sliced/100    3.93     24.1±0.23ms        ? ?/sec    1.00  
    6.1±0.12ms        ? ?/sec
     array_intersect_sliced/50     1.93      5.9±0.06ms        ? ?/sec    1.00  
    3.1±0.05ms        ? ?/sec
     array_union_sliced/10         1.65  1175.6±11.55µs        ? ?/sec    1.00  
 710.9±18.95µs        ? ?/sec
     array_union_sliced/100        3.65     24.9±0.29ms        ? ?/sec    1.00  
    6.8±0.15ms        ? ?/sec
     array_union_sliced/50         3.60     12.2±0.38ms        ? ?/sec    1.00  
    3.4±0.11ms        ? ?/sec
     ```
   
   These benchmarks use a ratio of 10:1 hidden:visible rows. The reason the 
benchmark results don't show a ~10x speedup is that previously, we did row 
conversion on the hidden rows but only applied the set operation to the visible 
rows, so the latter part was not inefficient.


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