pitrou commented on PR #55323:
URL: https://github.com/apache/arrow/pull/55323#issuecomment-6634258888

   Benchmark numbers on my AMD Zen 2 CPU:
   * before:
   ```
   
---------------------------------------------------------------------------------------------------------
   Benchmark                                               Time             CPU 
  Iterations UserCounters...
   
---------------------------------------------------------------------------------------------------------
   BM_DefinitionLevelsToBitmapRepeatedAllMissing        2272 ns         2271 ns 
      124061 bytes_per_second=860.028Mi/s
   BM_DefinitionLevelsToBitmapRepeatedAllPresent        2373 ns         2372 ns 
      117807 bytes_per_second=823.555Mi/s
   BM_DefinitionLevelsToBitmapRepeatedMostPresent       2806 ns         2806 ns 
       98122 bytes_per_second=696.15Mi/s
   BM_FindMinMax/7                                      6.27 ns         6.26 ns 
    44832223 bytes_per_second=2.08172Gi/s items_per_second=1.11761G/s
   BM_FindMinMax/1024                                   26.5 ns         26.5 ns 
    10523802 bytes_per_second=72.051Gi/s items_per_second=38.6821G/s
   BM_FindMinMax/2047                                   65.1 ns         65.1 ns 
     4275522 bytes_per_second=58.6112Gi/s items_per_second=31.4667G/s
   BM_FindMinMax/2048                                   56.6 ns         56.5 ns 
     4991379 bytes_per_second=67.4677Gi/s items_per_second=36.2214G/s
   ```
   * after:
   ```
   
---------------------------------------------------------------------------------------------------------
   Benchmark                                               Time             CPU 
  Iterations UserCounters...
   
---------------------------------------------------------------------------------------------------------
   BM_DefinitionLevelsToBitmapRepeatedAllMissing         815 ns          815 ns 
      344383 bytes_per_second=2.34094Gi/s
   BM_DefinitionLevelsToBitmapRepeatedAllPresent         927 ns          926 ns 
      298994 bytes_per_second=2.0588Gi/s
   BM_DefinitionLevelsToBitmapRepeatedMostPresent       1361 ns         1361 ns 
      205652 bytes_per_second=1.40163Gi/s
   BM_FindMinMax/7                                      6.39 ns         6.39 ns 
    43627315 bytes_per_second=2.04008Gi/s items_per_second=1.09526G/s
   BM_FindMinMax/1024                                   27.0 ns         27.0 ns 
    10367461 bytes_per_second=70.6521Gi/s items_per_second=37.931G/s
   BM_FindMinMax/2047                                   67.0 ns         66.9 ns 
     4180494 bytes_per_second=56.9505Gi/s items_per_second=30.5751G/s
   BM_FindMinMax/2048                                   57.6 ns         57.6 ns 
     4810381 bytes_per_second=66.2131Gi/s items_per_second=35.5479G/s
   ```
   
   Neat improvement!


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