This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ slower than JDK?
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Fernando Lozano <fernando at lozano dot eti dot br>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 29 Jan 2002 14:06:11 +1300
- Subject: Re: GCJ slower than JDK?
- References: <3C55DD67.1070001@lozano.eti.br>
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.