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]

Re: 3.2.2 & 3.3 branch & trunk compilation speed comparison (MICO)


On 12-Feb-2003, Devang Patel <dpatel@apple.com> wrote:
> 
> On Wednesday, February 12, 2003, at 05:49 AM, Karel Gardas wrote:
> 
> >6) which optimization levels - i.e. I tested only what's the most
> >   important for development when I try to make compilation time as 
> >   short as possible, by turn off all optimizations...?
> 
> Yes, speed without optimization is important right now.

I'd say test them all: -O0, -O1, -O2, -Os, -O3, and -fsyntax-only.

If you are only testing a few input files (which sounds like a good
idea to me), and the testing is fully automated, then it should be
easy enough to try them at several different optimization levels.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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