This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A nice improvement in GCC-3.3


Hi.

I'd like to report a large _speedup_ in the compiler when compiling the
latest parrot versions. Parrot is planned to be the run-time core of
Perl 6, and the file 'core_ops_cg.c' in parrot has always been trouble
to compile on my old, slow machine (i586). Memory requirements were
usually around 180-190 megs, and this file would often take between 10
and 15 minutes to compile. My latest build of GCC-3.3 taken from CVS
about two days ago though now compiles this file in under 5 minutes and
the memory needs topped out around 90 M. Much, much better. This file
makes heavy use of computed goto statements - perhaps this file can be a
test case for testing the compilers handling of such code?

For comparison, I just recompiled the file with GCC-3.2.3 (Debian), and
top reported memory use well over 100 M for much of the compile.
Apparently the parrot developers are also making this file a bit easier
to compile as well, but the improvements in GCC-3.3 in compiling this
file are so large I want to let the developers know and give an example
of a major improvement in the compiler.

Here's a link to parrot/perl6 for those interested ...

http://dev.perl.org/

My thanks to everyone working on GCC.

Art Haas
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]