[fedora-java] Using the natively-built Eclipse compiler

Bryce McKinlay mckinlay at redhat.com
Tue Mar 8 23:01:25 UTC 2005


Ziga Mahkovec wrote:

>I compared the compilation times for a simple HelloWorld class:
>
>ecj                |  ecj-native         |  jikes
>-------------------------------------------------------------
>real    0m8.462s   |  real    0m8.624s   |  real    0m0.101s
>user    0m7.791s   |  user    0m8.230s   |  user    0m0.048s
>sys     0m0.093s   |  sys     0m0.083s   |  sys     0m0.006s
>
>(warm startups)
>
>I wanted to run the same test for the GNU Classpath library, but ecj
>kept throwing an internal compiler error (with or without your patch;
>I'll file a bug report).  Anyway, the error is thrown after 32 seconds,
>while jikes compiles the entire library in 11 seconds.
>
>I suppose ecj would also profit from -O2?
>  
>
Something is wrong here. It looks like your ecj is running interpreted 
both in the "ecj" and "ecj-native" cases.

Bryce




More information about the fedora-devel-java-list mailing list