Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 17:38:21 +0100
From:      "Pål Sommerhein" <paalsom@ifi.uio.no>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        stable@FreeBSD.ORG
Subject:   Re: extremely slow cc1plus
Message-ID:  <36559AFD.DA75DC8F@ifi.uio.no>
References:  <199811200146.RAA27525@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi Asami wrote:
> 
> Hi,
> 
> I've been compiling some stuff on a recent -stable (the package
> building machine) and just noticed this:
> 
> ===
>   PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 29928 root     96   0 12772K 12108K RUN      8:07 56.80% 56.80% cc1plus
>  :
> ===
> 
> This is the command line:
> 
> ===
> g++ -O2 -DDEBUG -DAMULET2_CONVERSION -I/usr/ports/devel/amulet/work/amulet/include -I/usr/X11R6/include -Wall  -DGCC -DMEMORY -DDEFAULT_AMULET_DIR=\"/usr/X11R6/share/amulet\" -fpic -c /usr/ports/devel/amulet/work/amulet/src/widgets/testwidgets.cc -o /usr/ports/devel/amulet/work/amulet/src/widgets/testwidgets.o
> ===
> 
> and this is the size of the source file.
> 
> ===
> ## wc devel/amulet/work/amulet/src/widgets/testwidgets.cc
>     1922    6190   63054 devel/amulet/work/amulet/src/widgets/testwidgets.cc
> ===
> 
> I guess it could be including a thousand headers or something, but is
> g++ supposed to take *eight* CPU minutes (and counting) to compile a
> 2,000 line source file?
> 
> Satoshi
> 

I don't know if this is related, but I upgraded to 2.2-STABLE two days
ago. 
Then I did(after checking out the ports)
    # cd /usr/ports
    # make readmes
It took several hours, comparable to the time it took to 'make world'. 
I found 
this surprising.  Does it really take that long?  (my machine does a
make world
in about 3 hours).

So long,
Pål

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36559AFD.DA75DC8F>