GCJ slower than JDK?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Jan 28 17:05:00 GMT 2002


Fernando Lozano wrote:

> Testing on a directory with about 3.000 jpg files and getting about 76 
> duplicates, I found the program is three times slower when compiled 
> with gcj -O2 than when compiled and executed bu a Java SDK. 


If you'd like to post your small test program, we can take a look at it 
and see why it might be slower.

> Using gcj 2.96 and IBM Java SDK 1.3.0 under Red Hat Linux 7.1


The latest CVS GCJ will probibly give significantly better results.

regards

Bryce.




More information about the Java mailing list