[fedora-java] Profiling ecj (was: Using the natively-built Eclipse compiler)

Ziga Mahkovec ziga.mahkovec at klika.si
Thu Mar 24 16:18:04 UTC 2005


On Thu, 2005-03-24 at 15:51 +0000, Andrew Haley wrote:
> Andrew Overholt writes:
>  > 
>  > I decided to do something similar to what Ziga had done.  I took his
>  > HelloWorld.java [1] and compiled it with three incarnations of ecj:
> 
> Isn't this program to small to be a reasonable test?

Andrew, if you want to repeat the tests for GNU Classpath, here's what I
did:

1. grab a classpath snapshot (or checkout from CVS)
2. ./configure --with-ecj
3. apply the attached patch to work around an ecj bug[1]
4. link /usr/bin/ecj to one of your incarnations
5. cd lib; time make
6. make clean, rinse, repeat

If I understand correctly, any significant difference in these timings
would indicate BC-ABI performance penalty?


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=88562

-- 
Ziga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecj-crash.patch
Type: text/x-patch
Size: 857 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/java-devel/attachments/20050324/74228794/attachment.bin 


More information about the java-devel mailing list