[ 
https://issues.apache.org/jira/browse/COMPRESS-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated COMPRESS-234:
---------------------------------

    Description: 
I have looked over TarBuffer And TarArchiveInputStream and found some ways to 
improve performance orders of magnitude.

I used a 1 GB TAR archive file (no compression).

Times for reading all entry file names:
Current - 630ms
Mine - 17ms

Times for extracting all entry files:
Current 2446ms
Mine - 2214ms


As you can see, I have enhanced the "skip" methods greatly.  Actual extraction 
was within a margin of error and the timings bounces around a lot.

  was:
I have looked over TarBuffer And TarArchiveInputStream and found some ways to 
improve performance orders of magnitude.

I used a 1 GB TAR archive file (no compression).

Times for reading all entry file names:
Current - 630ms
Mine - 17ms

Times for extracting all entry files:
Current 2446ms
Mine - 2214ms


As you can see, I have enhanced the "skip" methods greatly.  Actual extraction 
was within an margin of error as the times bounces around a lot.

    
> Patch: TAR InputStream Huge Speed Improvements
> ----------------------------------------------
>
>                 Key: COMPRESS-234
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-234
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>            Reporter: BELUGA BEHR
>         Attachments: TarArchiveInputStream.java.patch, TarBuffer.java.patch
>
>
> I have looked over TarBuffer And TarArchiveInputStream and found some ways to 
> improve performance orders of magnitude.
> I used a 1 GB TAR archive file (no compression).
> Times for reading all entry file names:
> Current - 630ms
> Mine - 17ms
> Times for extracting all entry files:
> Current 2446ms
> Mine - 2214ms
> As you can see, I have enhanced the "skip" methods greatly.  Actual 
> extraction was within a margin of error and the timings bounces around a lot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to