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

   For reference, here are the micro-benchmark results on my machine. But bear 
in mind that evaluating the actual usefulness of this first requires plugging 
it into existing code (such as a Parquet decoder):
   ```
   
-------------------------------------------------------------------------------------------------
   Benchmark                                       Time             CPU   
Iterations UserCounters...
   
-------------------------------------------------------------------------------------------------
   ReallocateGrowing<SystemAlloc>             259625 ns       259558 ns         
2697 items_per_second=246.573k/s percent_in_place=0
   ReallocateGrowingNoCopy<SystemAlloc>         6024 ns         6023 ns       
119303 items_per_second=10.6263M/s percent_in_place=75
   ReallocateGrowing<Jemalloc>                  9389 ns         9387 ns        
74572 items_per_second=6.81772M/s percent_in_place=93.75
   ReallocateGrowingNoCopy<Jemalloc>            5572 ns         5571 ns       
125529 items_per_second=11.4872M/s percent_in_place=93.75
   ReallocateGrowing<Mimalloc>                 71605 ns        71591 ns         
9742 items_per_second=893.964k/s percent_in_place=54.6875
   ReallocateGrowingNoCopy<Mimalloc>           10113 ns        10112 ns        
69571 items_per_second=6.32909M/s percent_in_place=78.125
   
   ReallocateShrinking<SystemAlloc>           203288 ns       203237 ns         
5293 items_per_second=314.904k/s percent_in_place=0
   ReallocateShrinkingNoCopy<SystemAlloc>       6659 ns         6658 ns       
105071 items_per_second=9.61302M/s percent_in_place=73.4375
   ReallocateShrinking<Jemalloc>                9691 ns         9689 ns        
71743 items_per_second=6.60514M/s percent_in_place=93.75
   ReallocateShrinkingNoCopy<Jemalloc>          6433 ns         6253 ns       
114823 items_per_second=10.2355M/s percent_in_place=98.4375
   ReallocateShrinking<Mimalloc>                5895 ns         5894 ns       
118059 items_per_second=10.858M/s percent_in_place=89.0625
   ReallocateShrinkingNoCopy<Mimalloc>          2047 ns         2046 ns       
341842 items_per_second=31.2752M/s percent_in_place=98.4375
   ```
   


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