harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5575) [classlib][pack200]
Date Wed, 05 Mar 2008 17:13:41 GMT
[classlib][pack200]
-------------------

                 Key: HARMONY-5575
                 URL: https://issues.apache.org/jira/browse/HARMONY-5575
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
         Environment: All pack200
            Reporter: Andrew Cornwall


There are performance issues with Pack200. The real problem is probably the fact that I'm
creating lots of garbage in the comparators, but some of that can be alleviated by deferring
the sort until after all the ClassFileEntries are known.

This patch defers the sort.  It reduces the runtime of the JUnit tests from 12.812 seconds
to 7.359 seconds, which is not insignificant.

(Unfortunately, this patch also appears to have changed existing tabs to spaces, so it's larger
than it should be.)

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


Mime
View raw message