hello?

Tom Tromey tromey@cygnus.com
Fri Oct 9 15:04:00 GMT 1998


Shane> Now, I don't know anything about HPCJ, and this result makes
Shane> absolutely no sense to me, but what kind of performance should
Shane> we expect from GCJ as compared to JDK 1.1.6 with a JIT?

I don't have a JIT here, as far as I know.  I'm using JDK 1.1.5 on
my Linux box for comparisons.

When I run our "Linpack" test under `java', I get answers like this:

Mflops/s: 1.99  Time: 350 msecs  Norm Res: 1.33  Precision: 2.220446049250313E-16


When I run the compiled version I get:

Mflops/s: 6.3  Time: 110 msecs  Norm Res: 1.14  Precision: 2.220446049250313E-16

I compile with `-g' and no optimization.


So for this example the compiled code is 3x as fast.

Of course, this is highly application dependent.

Tom



More information about the Java mailing list