sijie commented on issue #151: DL-45: DL should allow ByteBuf based API to 
avoid copying bytes array
URL: https://github.com/apache/distributedlog/pull/151#issuecomment-326204323
 
 
   FYI. the new compression codec shows much better result 
   
   ```
   Benchmark                                                                 
(size)   Mode  Cnt      Score      Error   Units
   CompressionBenchmark.testCompressLZ4                                         
 10  thrpt   50   6382.946 ?  252.338  ops/ms
   CompressionBenchmark.testCompressLZ4                                         
100  thrpt   50    560.667 ?   15.716  ops/ms
   CompressionBenchmark.testCompressLZ4                                        
1000  thrpt   50    198.630 ?    4.767  ops/ms
   CompressionBenchmark.testCompressLZ4                                       
10000  thrpt   50     61.814 ?    1.543  ops/ms
   CompressionBenchmark.testCompressNone                                        
 10  thrpt   50  48918.275 ?  688.621  ops/ms
   CompressionBenchmark.testCompressNone                                        
100  thrpt   50  47937.500 ? 3246.851  ops/ms
   CompressionBenchmark.testCompressNone                                       
1000  thrpt   50  49029.124 ?  982.252  ops/ms
   CompressionBenchmark.testCompressNone                                      
10000  thrpt   50  50717.187 ? 1143.477  ops/ms
   CompressionBenchmark.testDecompressLZ4                                       
 10  thrpt   50   7191.179 ?  196.163  ops/ms
   CompressionBenchmark.testDecompressLZ4                                       
100  thrpt   50   4435.242 ?   89.038  ops/ms
   CompressionBenchmark.testDecompressLZ4                                      
1000  thrpt   50    994.583 ?   22.731  ops/ms
   CompressionBenchmark.testDecompressLZ4                                     
10000  thrpt   50    112.235 ?    1.937  ops/ms
   CompressionBenchmark.testDecompressNone                                      
 10  thrpt   50  36554.827 ?  571.760  ops/ms
   CompressionBenchmark.testDecompressNone                                      
100  thrpt   50  37407.131 ?  711.580  ops/ms
   CompressionBenchmark.testDecompressNone                                     
1000  thrpt   50  37218.008 ?  910.462  ops/ms
   CompressionBenchmark.testDecompressNone                                    
10000  thrpt   50  40611.669 ?  509.468  ops/ms
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to