theobisproject commented on pull request #113:
URL: https://github.com/apache/commons-compress/pull/113#issuecomment-731746841


   > `readLastEntry_tarStream` is even slower than eithor
   
   My guess would be that the performance characteristic of `IOUtils.skip` is 
quite different than the writing to the `NullOutputStream` in the benchmark.
   
   If someone is only interested in the overhead of the `TarFile` 
implementation this benchmark can be added.
   ```java
   @Benchmark
   public void tarFileOverhead() throws IOException {
       try (TarFile tarFile = new TarFile(getLargeTarPath())) {
           // Do nothing to only measure the overhead of reading all files 
header information
       }
   }
   ```


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

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


Reply via email to