From owner-freebsd-stable Fri Nov 20 08:39:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20845 for freebsd-stable-outgoing; Fri, 20 Nov 1998 08:39:06 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pc196s233r1.jancomulti.com (pc196s233r1.jancomulti.com [195.139.233.196]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA20840 for ; Fri, 20 Nov 1998 08:39:02 -0800 (PST) (envelope-from paalsom@ifi.uio.no) Received: from ifi.uio.no (localhost [127.0.0.1]) by pc196s233r1.jancomulti.com (8.8.8/8.8.8) with ESMTP id RAA01284; Fri, 20 Nov 1998 17:38:25 +0100 (CET) (envelope-from paalsom@ifi.uio.no) Message-ID: <36559AFD.DA75DC8F@ifi.uio.no> Date: Fri, 20 Nov 1998 17:38:21 +0100 From: "Pål Sommerhein" X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-STABLE i386) MIME-Version: 1.0 To: Satoshi Asami CC: stable@FreeBSD.ORG Subject: Re: extremely slow cc1plus References: <199811200146.RAA27525@silvia.hip.berkeley.edu> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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