HuaHuaY commented on PR #50281:
URL: https://github.com/apache/arrow/pull/50281#issuecomment-4853093293

   I added a new benchmark to count the number of valid int8 values ​​in a 
random `struct<a: struct<b: int8>>` array. Due to the use of `CountSetBits` 
batch interface, `VisitTwoBitRunsVoid` achieves better performance than 
`VisitTwoBitBlocksVoid` in most cases.
   
   parent_null_every | value_null_every | BitBlocks ns | BitRuns ns | vs block 
| SetBitRuns ns | vs block
   -- | -- | -- | -- | -- | -- | --
   2 | 2 | 5100500 | 3247773 | 0.64x | 3272429 | 0.64x
   2 | 8 | 4592000 | 3371095 | 0.73x | 3245095 | 0.71x
   2 | 64 | 4338500 | 3281286 | 0.76x | 3272810 | 0.75x
   8 | 2 | 4439125 | 3052261 | 0.69x | 3103000 | 0.70x
   8 | 8 | 2801040 | 3075136 | 1.10x | 3090304 | 1.10x
   8 | 64 | 2326967 | 3070955 | 1.32x | 3171870 | 1.36x
   64 | 2 | 4132647 | 813513 | 0.20x | 848000 | 0.21x
   64 | 8 | 2026114 | 835193 | 0.41x | 823469 | 0.41x
   64 | 64 | 1456122 | 789952 | 0.54x | 842785 | 0.58x
   512 | 2 | 3918444 | 100072 | 0.03x | 98034 | 0.03x
   4096 | 2 | 3878944 | 26525 | 0.01x | 26539 | 0.01x
   65536 | 65536 | 1052229 | 14449 | 0.01x | 14641 | 0.01x


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