[39] in java-interest
Re: Decompression Speed
daemon@ATHENA.MIT.EDU (Thom Hickey)
Wed May 3 17:23:33 1995
Date: Wed, 3 May 1995 15:00:09 +0500
From: hickey@oclc.org (Thom Hickey)
To: java-interest@java.Eng.Sun.COM
As some of you may remember, we (actually Bob Haschart) recoded a Group
4 fax decompression routine written in C into Java. Decompression
times for a 100K image went from .8 seconds to 80 seconds. Arthur was
able to do some optimization to the Java source and reduced the time to
about 50 seconds; still too slow for most applications.
Well, Sun has been able to compile the byte-code into SPARC
instructions, speeding the code up by a factor of 10, reducing the run
time to under 5 seconds. Still a little slow, but hey, this is alpha.
I think this bodes well for the ultimate speed of Java code, and the 5
seconds is fast enough for many applications.
My only remaining speed problems are in class loading and verification
which can take quite a while, but again it works pretty well for
alpha.
--Th
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com