You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "benibus (via GitHub)" <gi...@apache.org> on 2023/06/20 16:36:02 UTC

[GitHub] [arrow] benibus commented on pull request #36179: GH-36176: [C++] Fix regression for single-key Table sorting

benibus commented on PR #36179:
URL: https://github.com/apache/arrow/pull/36179#issuecomment-1599134933

   Local benchmark results (approx. best-case)
   
   Before
   ```
   -------------------------------------------------------------------------------------------------------
   Benchmark                                             Time             CPU   Iterations UserCounters...
   -------------------------------------------------------------------------------------------------------
   TableSortIndicesInt64Narrow/1048576/100/1/32  367381664 ns    367357156 ns            2 chunks=32 columns=1 items_per_second=2.85438M/s null_percent=1
   TableSortIndicesInt64Narrow/1048576/4/1/32    281608431 ns    281605789 ns            2 chunks=32 columns=1 items_per_second=3.72356M/s null_percent=25
   TableSortIndicesInt64Narrow/1048576/0/1/32    354414823 ns    354413272 ns            2 chunks=32 columns=1 items_per_second=2.95863M/s null_percent=0
   TableSortIndicesInt64Narrow/1048576/100/1/4   315257284 ns    315253535 ns            2 chunks=4 columns=1 items_per_second=3.32614M/s null_percent=1
   TableSortIndicesInt64Narrow/1048576/4/1/4     240298213 ns    240291188 ns            3 chunks=4 columns=1 items_per_second=4.36377M/s null_percent=25
   TableSortIndicesInt64Narrow/1048576/0/1/4     311795614 ns    311790481 ns            2 chunks=4 columns=1 items_per_second=3.36308M/s null_percent=0
   TableSortIndicesInt64Narrow/1048576/100/1/1   282068938 ns    282067950 ns            2 chunks=1 columns=1 items_per_second=3.71746M/s null_percent=1
   TableSortIndicesInt64Narrow/1048576/4/1/1     210222675 ns    210216608 ns            3 chunks=1 columns=1 items_per_second=4.98807M/s null_percent=25
   TableSortIndicesInt64Narrow/1048576/0/1/1     281105329 ns    281101193 ns            2 chunks=1 columns=1 items_per_second=3.73024M/s null_percent=0
   ```
   After
   ```
   -------------------------------------------------------------------------------------------------------
   Benchmark                                             Time             CPU   Iterations UserCounters...
   -------------------------------------------------------------------------------------------------------
   TableSortIndicesInt64Narrow/1048576/100/1/32  148802109 ns    148797635 ns            4 chunks=32 columns=1 items_per_second=7.04699M/s null_percent=1
   TableSortIndicesInt64Narrow/1048576/4/1/32    125102993 ns    125100621 ns            6 chunks=32 columns=1 items_per_second=8.38186M/s null_percent=25
   TableSortIndicesInt64Narrow/1048576/0/1/32    147291350 ns    147287710 ns            5 chunks=32 columns=1 items_per_second=7.11924M/s null_percent=0
   TableSortIndicesInt64Narrow/1048576/100/1/4    72243393 ns     72241902 ns           10 chunks=4 columns=1 items_per_second=14.5148M/s null_percent=1
   TableSortIndicesInt64Narrow/1048576/4/1/4      66780395 ns     66779462 ns           11 chunks=4 columns=1 items_per_second=15.7021M/s null_percent=25
   TableSortIndicesInt64Narrow/1048576/0/1/4      70065128 ns     70063740 ns           10 chunks=4 columns=1 items_per_second=14.966M/s null_percent=0
   TableSortIndicesInt64Narrow/1048576/100/1/1    19336900 ns     19335762 ns           36 chunks=1 columns=1 items_per_second=54.2299M/s null_percent=1
   TableSortIndicesInt64Narrow/1048576/4/1/1      25458573 ns     25457697 ns           27 chunks=1 columns=1 items_per_second=41.189M/s null_percent=25
   TableSortIndicesInt64Narrow/1048576/0/1/1      17580368 ns     17577897 ns           40 chunks=1 columns=1 items_per_second=59.6531M/s null_percent=0
   ```


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org