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

   These are the results from the last benchmark and this benchmark, grouped in 
pairs, with the latest results following. I think that after optimizing 
BitRunReader, the performance gap between VisitBitRuns and VisitSetBitRuns has 
indeed narrowed in most cases. @pitrou Please take a look.
   
   ## 4ab7d672 / amd64-c6a-4xlarge-linux / c0d6bf7
   
   | Benchmark | 2 | 8 | 64 | 512 | 4096 | 32768 | 65536 |
   |---|---:|---:|---:|---:|---:|---:|---:|
   | `BitBlockCounterSum` | 2.59e+8 | 6.46e+8 | 1.39e+9 | 3.58e+9 | 4.90e+9 | 
5.15e+9 | 5.17e+9 |
   | `VisitBitRunsSum` | 3.10e+8 | 5.70e+8 | 2.07e+9 | 4.30e+9 | 4.68e+9 | 
4.73e+9 | 4.73e+9 |
   | `VisitSetBitRunsSum` | 3.59e+8 | 6.40e+8 | 2.20e+9 | 4.58e+9 | 4.88e+9 | 
4.93e+9 | 4.94e+9 |
   
   ## d164bbbe / amd64-c6a-4xlarge-linux / 3b5b2d0
   
   | Benchmark | 2 | 8 | 64 | 512 | 4096 | 32768 | 65536 |
   |---|---:|---:|---:|---:|---:|---:|---:|
   | `BitBlockCounterSum` | 2.56e+8 | 6.37e+8 | 1.37e+9 | 3.55e+9 | 4.85e+9 | 
5.09e+9 | 5.11e+9 |
   | `VisitBitRunsSum` | 3.13e+8 | 5.75e+8 | 2.10e+9 | 4.38e+9 | 4.70e+9 | 
4.76e+9 | 4.76e+9 |
   | `VisitSetBitRunsSum` | 3.39e+8 | 6.07e+8 | 2.17e+9 | 4.50e+9 | 4.80e+9 | 
4.86e+9 | 4.87e+9 |
   
   ## fd5a984c / amd64-m5-4xlarge-linux / c0d6bf7
   
   | Benchmark | 2 | 8 | 64 | 512 | 4096 | 32768 | 65536 |
   |---|---:|---:|---:|---:|---:|---:|---:|
   | `BitBlockCounterSum` | 2.00e+8 | 4.55e+8 | 9.33e+8 | 1.88e+9 | 2.26e+9 | 
2.32e+9 | 2.32e+9 |
   | `VisitBitRunsSum` | 2.07e+8 | 3.73e+8 | 1.15e+9 | 1.98e+9 | 2.17e+9 | 
2.19e+9 | 2.19e+9 |
   | `VisitSetBitRunsSum` | 2.34e+8 | 4.01e+8 | 1.15e+9 | 2.03e+9 | 2.24e+9 | 
2.26e+9 | 2.26e+9 |
   
   ## e74c6927 / amd64-m5-4xlarge-linux / 3b5b2d0
   
   | Benchmark | 2 | 8 | 64 | 512 | 4096 | 32768 | 65536 |
   |---|---:|---:|---:|---:|---:|---:|---:|
   | `BitBlockCounterSum` | 2.00e+8 | 4.55e+8 | 9.34e+8 | 1.88e+9 | 2.26e+9 | 
2.32e+9 | 2.32e+9 |
   | `VisitBitRunsSum` | 2.18e+8 | 3.84e+8 | 1.15e+9 | 1.97e+9 | 2.15e+9 | 
2.17e+9 | 2.17e+9 |
   | `VisitSetBitRunsSum` | 2.30e+8 | 3.99e+8 | 1.15e+9 | 2.03e+9 | 2.24e+9 | 
2.26e+9 | 2.26e+9 |
   
   ## 457fe991 / test-mac-arm / c0d6bf7
   
   | Benchmark | 2 | 8 | 64 | 512 | 4096 | 32768 | 65536 |
   |---|---:|---:|---:|---:|---:|---:|---:|
   | `BitBlockCounterSum` | 2.60e+8 | 7.22e+8 | 1.98e+9 | 5.40e+9 | 7.09e+9 | 
7.29e+9 | 7.30e+9 |
   | `VisitBitRunsSum` | 3.41e+8 | 6.44e+8 | 1.57e+9 | 2.33e+9 | 2.57e+9 | 
2.59e+9 | 2.59e+9 |
   | `VisitSetBitRunsSum` | 4.00e+8 | 6.36e+8 | 2.64e+9 | 9.07e+9 | 1.22e+10 | 
1.29e+10 | 1.29e+10 |
   
   ## 6701543e / test-mac-arm / 3b5b2d0
   
   | Benchmark | 2 | 8 | 64 | 512 | 4096 | 32768 | 65536 |
   |---|---:|---:|---:|---:|---:|---:|---:|
   | `BitBlockCounterSum` | 2.60e+8 | 7.16e+8 | 1.90e+9 | 5.33e+9 | 7.03e+9 | 
7.27e+9 | 7.29e+9 |
   | `VisitBitRunsSum` | 3.58e+8 | 5.84e+8 | 2.27e+9 | 8.53e+9 | 1.23e+10 | 
1.31e+10 | 1.31e+10 |
   | `VisitSetBitRunsSum` | 4.07e+8 | 6.49e+8 | 2.59e+9 | 9.00e+9 | 1.22e+10 | 
1.28e+10 | 1.29e+10 |


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