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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-03-08 at 18:01 -0500, Bryce McKinlay wrote:
> 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
> >
> > [...] 
> >
> Something is wrong here. It looks like your ecj is running interpreted 
> both in the "ecj" and "ecj-native" cases.

$ rpm -q libgcj eclipse-ecj
libgcj-4.0.0-0.30
eclipse-ecj-3.1.0_fc-0.M5.10
$ gcj-dbtool -l /usr/lib/eclipse/eclipse.db | wc -l
19865
$ export CLASSPATH=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar
$ time gij -Dgnu.gcj.precompiled.db.path=/usr/lib/eclipse/eclipse.db \
  com.sun.tools.javac.Main HelloWorld.java

real    0m8.687s
user    0m8.591s
sys     0m0.091s


And strace indicates that eclipse.db is opened.  Is there anything else
I can check?

-- 
Ziga



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux