You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Cornwall (JIRA)" <ji...@apache.org> on 2008/07/17 01:23:31 UTC

[jira] Created: (HARMONY-5913) [classlib][pack200] Another opportunity for buffering

[classlib][pack200] Another opportunity for buffering
-----------------------------------------------------

                 Key: HARMONY-5913
                 URL: https://issues.apache.org/jira/browse/HARMONY-5913
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
    Affects Versions: 5.0M6
         Environment: Pack200 HEAD
            Reporter: Andrew Cornwall
         Attachments: main.patch

I found one more opportunity for buffering to improve the speed of the pack200 Archive API by about 8% when unpacking  from one file to another.

This won't affect the performance of the Pack200.Unpacker API, but will serve as a useful example of why it's important to pass a buffered JarOutputStream in rather than a simple JarOutputStream on a FileOutputStream.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-5913) [classlib][pack200] Another opportunity for buffering

Posted by "Sian January (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sian January resolved HARMONY-5913.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M7

Patch applied at r677539.  Please check that it was applied as you expected.

> [classlib][pack200] Another opportunity for buffering
> -----------------------------------------------------
>
>                 Key: HARMONY-5913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5913
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M6
>         Environment: Pack200 HEAD
>            Reporter: Andrew Cornwall
>             Fix For: 5.0M7
>
>         Attachments: main.patch
>
>
> I found one more opportunity for buffering to improve the speed of the pack200 Archive API by about 8% when unpacking  from one file to another.
> This won't affect the performance of the Pack200.Unpacker API, but will serve as a useful example of why it's important to pass a buffered JarOutputStream in rather than a simple JarOutputStream on a FileOutputStream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5913) [classlib][pack200] Another opportunity for buffering

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall updated HARMONY-5913:
-------------------------------------

    Attachment: main.patch

(Besides, Archive *says* we should pass in a buffered JarOutputStream, so we should do it :-)

main.patch attached.

> [classlib][pack200] Another opportunity for buffering
> -----------------------------------------------------
>
>                 Key: HARMONY-5913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5913
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M6
>         Environment: Pack200 HEAD
>            Reporter: Andrew Cornwall
>         Attachments: main.patch
>
>
> I found one more opportunity for buffering to improve the speed of the pack200 Archive API by about 8% when unpacking  from one file to another.
> This won't affect the performance of the Pack200.Unpacker API, but will serve as a useful example of why it's important to pass a buffered JarOutputStream in rather than a simple JarOutputStream on a FileOutputStream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5913) [classlib][pack200] Another opportunity for buffering

Posted by "Andrew Cornwall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Cornwall closed HARMONY-5913.
------------------------------------


Patch applied as expected. Thanks!

> [classlib][pack200] Another opportunity for buffering
> -----------------------------------------------------
>
>                 Key: HARMONY-5913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5913
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M6
>         Environment: Pack200 HEAD
>            Reporter: Andrew Cornwall
>             Fix For: 5.0M7
>
>         Attachments: main.patch
>
>
> I found one more opportunity for buffering to improve the speed of the pack200 Archive API by about 8% when unpacking  from one file to another.
> This won't affect the performance of the Pack200.Unpacker API, but will serve as a useful example of why it's important to pass a buffered JarOutputStream in rather than a simple JarOutputStream on a FileOutputStream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.