This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Gcj binaries performance (arm-linux)
- From: "Andrew John Hughes" <gnu_andrew at member dot fsf dot org>
- To: ffileppo <ffileppo at libero dot it>
- Cc: aph <aph at redhat dot com>, java <java at gcc dot gnu dot org>
- Date: Fri, 9 May 2008 09:30:14 +0100
- Subject: Re: Gcj binaries performance (arm-linux)
- References: <K02S5F$044512E25D4335712621D5F6F1A3EA6B@libero.it>
2008/4/29 ffileppo <ffileppo@libero.it>:
>
> >
> > aph@debian:~$ /home/aph/gcc-4.3.0-RC-20080301-install/bin/gcj MyPanel.class -O --main=MyPanel
> > aph@debian:~$ ./a.out
> > Test "Bubble Sort" (Num loop: 100)
> > First loop time: 22
> > Total time elapsed: 2197
> >
> > aph@debian:~$ /home/aph/gcc-4.3.0-RC-20080301-install/bin/gcj MyPanel.class -O2 --main=MyPanel
> > aph@debian:~$ ./a.out
> > Test "Bubble Sort" (Num loop: 100)
> > First loop time: 20
> > Total time elapsed: 1943
> >
> > Andrew.
> >
>
> Thanks for your help Andrew,
> I'm getting good performance on target using -O / -O2
>
> Francesco
>
>
So does gcj default to no optimisation? This is what these results
suggest, as the
-O version is about 18 times quicker.
--
Andrew :-)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8