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
Index: gnu/java/awt/peer/gtk/GdkGraphics2D.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,v retrieving revision 1.33 diff -u -r1.33 GdkGraphics2D.java --- gnu/java/awt/peer/gtk/GdkGraphics2D.java 16 Feb 2005 13:59:03 -0000 1.33 +++ gnu/java/awt/peer/gtk/GdkGraphics2D.java 24 Mar 2005 16:02:19 -0000 @@ -99,9 +99,9 @@ static { - if (! Configuration.GTK_CAIRO_ENABLED) - throw new Error("Grahics2D not implemented. " - + "Cairo was not found or disabled at configure time"); + //if (! Configuration.GTK_CAIRO_ENABLED) + // throw new Error("Grahics2D not implemented. " + // + "Cairo was not found or disabled at configure time"); if (Configuration.INIT_LOAD_LIBRARY) System.loadLibrary("gtkpeer");