alamb commented on PR #9121:
URL: https://github.com/apache/arrow-rs/pull/9121#issuecomment-3759412364
The benchmakrs now show a small but repeatable improvement for the array
types. I am not sure how real it is but I am now convinced this PR is an
improvement
```
group
alamb_less_parquet_view_allocations main
-----
----------------------------------- ----
...
arrow_array_reader/BinaryViewArray/dictionary encoded, mandatory, no NULLs
1.00 270.3±4.43µs ? ?/sec 1.04
280.3±4.12µs ? ?/sec
arrow_array_reader/BinaryViewArray/dictionary encoded, optional, half NULLs
1.04 240.2±2.87µs ? ?/sec 1.00
231.5±3.62µs ? ?/sec
arrow_array_reader/BinaryViewArray/dictionary encoded, optional, no NULLs
1.00 274.9±4.35µs ? ?/sec 1.01
278.2±3.97µs ? ?/sec
arrow_array_reader/BinaryViewArray/plain encoded, mandatory, no NULLs
1.00 352.1±10.76µs ? ?/sec 1.07
376.8±5.89µs ? ?/sec
arrow_array_reader/BinaryViewArray/plain encoded, mandatory, no NULLs, short
string 1.00 324.5±3.75µs ? ?/sec 1.08
350.0±3.34µs ? ?/sec
arrow_array_reader/BinaryViewArray/plain encoded, optional, half NULLs
1.00 290.8±3.70µs ? ?/sec 1.03
298.8±2.92µs ? ?/sec
arrow_array_reader/BinaryViewArray/plain encoded, optional, no NULLs
1.00 360.0±3.41µs ? ?/sec 1.06
382.9±1.37µs ? ?/sec
...
arrow_array_reader/StringViewArray/dictionary encoded, mandatory, no NULLs
1.01 274.2±2.40µs ? ?/sec 1.00
271.2±4.02µs ? ?/sec
arrow_array_reader/StringViewArray/dictionary encoded, optional, half NULLs
1.05 240.4±0.94µs ? ?/sec 1.00
230.1±1.69µs ? ?/sec
arrow_array_reader/StringViewArray/dictionary encoded, optional, no NULLs
1.00 277.6±2.41µs ? ?/sec 1.00
276.7±3.68µs ? ?/sec
arrow_array_reader/StringViewArray/plain encoded, mandatory, no NULLs
1.01 506.5±6.99µs ? ?/sec 1.00
503.3±5.39µs ? ?/sec
arrow_array_reader/StringViewArray/plain encoded, optional, half NULLs
1.04 364.8±9.48µs ? ?/sec 1.00
351.6±3.12µs ? ?/sec
arrow_array_reader/StringViewArray/plain encoded, optional, no NULLs
1.01 519.1±36.53µs ? ?/sec 1.00
512.2±11.52µs ? ?/sec
...
```
--
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]