Re: Why is JAR so slow?




IchBin wrote:
Wibble0@xxxxxxxxx wrote:
Roedy Green wrote:
On Fri, 31 Mar 2006 07:21:13 -0500, Wibble <Wibble@xxxxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

I've given up on it and started using
gzip. Its about a bazillion times
faster, going from minutes to seconds
for some our large code generated jars.
They do quite different things. Gzip compresses an entire file. Jar
prepares many small member entries each separately compressed.

Are you referring to some alternate Jar utility?

Also check out pack200 which compresses an entire uncompressed archive
to get super compression.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

I'm talking about the plain old jar utility. I'm creating jar files to
use in a
classpath. I'm not interested that they're executable.

If you add a manifest, gzip makes jar files which java happily accepts.
The jar file creation time is what I find crazy with the jar util that
ships java.

I'm pretty sure that the reason jikes is faster is that it doesn't use
java's jar support but embeds native zip.

Just and aside question? I thought the jikes was not being developed at
IBM any more or they are phasing it out..

--

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)

Jikes is on sourceforge now, no longer ibm.

http://jikes.sourceforge.net/

.



Relevant Pages

  • Re: Why is JAR so slow?
    ... Its about a bazillion times ... Gzip compresses an entire file. ... Are you referring to some alternate Jar utility? ...
    (comp.lang.java.programmer)
  • Re: Why is JAR so slow?
    ... Its about a bazillion times ... Gzip compresses an entire file. ... Are you referring to some alternate Jar utility? ...
    (comp.lang.java.programmer)
  • Re: Why is JAR so slow?
    ... Its about a bazillion times ... Gzip compresses an entire file. ... Are you referring to some alternate Jar utility? ...
    (comp.lang.java.programmer)
  • Re: Why is JAR so slow?
    ... Gzip compresses an entire file. ... Are you referring to some alternate Jar utility? ... gzip makes jar files which java happily accepts. ...
    (comp.lang.java.programmer)
  • Re: whats the use of JAR files
    ... JAR is an acronym for Java Archive. ... JAR files have essentially the same internal structure as ZIP files. ... Now you have a directory tree at some level in your hard drive, let's say it sits at $PROJECTS/foo. ...
    (comp.lang.java.programmer)