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

   Updated benchmarks; I added special-cases for integers and floats, and also 
added a benchmark for floats:
   
   ```
     ┌──────────────┬────────────┬─────────┬───────────┬─────────────┐
     │  Benchmark   │ Array Size │  Main   │ Optimized │ Improvement │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ int64        │ 5          │ 229 µs  │ 80 µs     │ -65%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ int64        │ 20         │ 546 µs  │ 155 µs    │ -72%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ int64        │ 100        │ 1.94 ms │ 614 µs    │ -68%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ float64      │ 5          │ 617 µs  │ 132 µs    │ -79%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ float64      │ 20         │ 1.91 ms │ 431 µs    │ -77%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ float64      │ 100        │ 8.17 ms │ 2.05 ms   │ -75%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ string       │ 5          │ 254 µs  │ 68 µs     │ -73%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ string       │ 20         │ 532 µs  │ 157 µs    │ -71%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ string       │ 100        │ 1.79 ms │ 521 µs    │ -71%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ nested int64 │ 5          │ 206 µs  │ 80 µs     │ -61%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ nested int64 │ 20         │ 468 µs  │ 165 µs    │ -65%        │
     ├──────────────┼────────────┼─────────┼───────────┼─────────────┤
     │ nested int64 │ 100        │ 1.83 ms │ 627 µs    │ -66%        │
     └──────────────┴────────────┴─────────┴───────────┴─────────────┘
     ```


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