haohuaijin commented on issue #10140:
URL: https://github.com/apache/arrow-rs/issues/10140#issuecomment-4758676937

   update benchmark after removing the `selection.as_mask() -> Mask` fast path 
in `Auto` strategy in 
[023827b](https://github.com/apache/arrow-rs/pull/10141/commits/023827b5efc9b52c26643787e9cc45c23d7ff1e5):
   
   ### Clustered + jitter
   
   | selectivity | `from_filters` | `from_boolean_buffer` | result |
   |---|---:|---:|---|
   | 1% | 146.53 us | 210.07 us | selectors 1.4x faster |
   | 10% | 318.07 us | 488.20 us | selectors 1.5x faster |
   | 33% | 707.40 us | 1.139 ms | selectors 1.6x faster |
   | 80% | 1.451 ms | 2.459 ms | selectors 1.7x faster |
   
   ### Fragmented
   
   | selectivity | `from_filters` | `from_boolean_buffer` | result |
   |---|---:|---:|---|
   | 1% | 1.244 ms | 1.389 ms | selectors 1.1x faster |
   | 10% | 7.265 ms | 4.446 ms | bitmap 1.6x faster |
   | 33% | 16.223 ms | 9.053 ms | bitmap 1.8x faster |
   | 80% | 16.094 ms | 10.482 ms | bitmap 1.5x faster |
   
   
   ### Random
   
   | selectivity | `from_filters` | `from_boolean_buffer` | result |
   |---|---:|---:|---|
   | 1% | 1.377 ms | 1.824 ms | selectors 1.3x faster |
   | 10% | 9.259 ms | 5.448 ms | bitmap 1.7x faster |
   | 33% | 15.607 ms | 8.475 ms | bitmap 1.8x faster |
   | 80% | 16.731 ms | 12.926 ms | bitmap 1.3x faster |


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