www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/17/10:58:00

Date: Tue, 17 Dec 1996 17:45:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jurgen Schwietering <tweety AT Torino DOT ALPcom DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: gcc compiles so slow?
In-Reply-To: <5966cr$sov@galileo.polito.it>
Message-ID: <Pine.SUN.3.91.961217174230.21540A-100000@is>
MIME-Version: 1.0

On 17 Dec 1996, Jurgen Schwietering wrote:

> : Eight seconds is slow?  How fast can you debug, anyway?  When I look at the
> : speed of a tool, I compare it to *my* speed, not some other tool's.
> 
> You are right, but this is not the point, if something quite empty takes 8
> seconds, i extrpolate and for large projects, I doubt that the difference
> would be only the validation of a human tester.

This extrapolation is invalid.  The overhead of gcc loading the different 
compiler/linker passes is additive, not multiplicative.  So you get those 
same 8 (or whatever) seconds *added* to the compilation time, no matter 
how large the source file is.  The 8sec thumb rule is just a quick and 
dirty method to see if the installation is about right (sans some fine 
tuning) or downright broken.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019