From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Two strange messages while building Emacs on MS-Windows Date: Mon, 10 Dec 2012 23:08:21 +0200 Message-ID: <83vcc9aa4a.fsf@gnu.org> References: <83mwxpmtp6.fsf@gnu.org> <83fw3hm0nn.fsf@gnu.org> <83k3srdh3d.fsf@gnu.org> <838v96dgyd.fsf@gnu.org> <8338zecu4i.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1355173716 23454 80.91.229.3 (10 Dec 2012 21:08:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 21:08:36 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 22:08:49 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TiAan-0002ZQ-9e for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 22:08:49 +0100 Original-Received: from localhost ([::1]:49071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiAaa-0001el-M2 for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 16:08:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiAaX-0001ee-Rw for emacs-devel@gnu.org; Mon, 10 Dec 2012 16:08:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiAaU-0000vD-WC for emacs-devel@gnu.org; Mon, 10 Dec 2012 16:08:33 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:34569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiAaU-0000ut-Nm for emacs-devel@gnu.org; Mon, 10 Dec 2012 16:08:30 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MEU005002KSVX00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Mon, 10 Dec 2012 23:08:28 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEU005302Q4QO70@a-mtaout21.012.net.il>; Mon, 10 Dec 2012 23:08:28 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155439 Archived-At: > Date: Mon, 10 Dec 2012 21:57:32 +0100 > From: Dani Moncayo > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > "mingw32-make [-j4] compile" takes: > - With revno 111165 (before your changes in `lisp/makefile.w32-in'): > . without "-jN": 15:57 > . with -j4: 15:34 > - With revno 111175: > . without "-jN": 16:21 > . with -j4: 6:23 > > > A full bootstrap with "-j4" (of the last trunk) has taken 13:53. So now the new mystery is: why does it take you a whopping 7.5 min to compile the C sources of Emacs? It takes about 30 sec for me with GCC 3.4.x; GCC 4.7.2 that you use should be about 2 times slower, so I'd expect something like 1 min, not 7.5. Try this: cd nt touch ../src/config.h make -j6 and time the last command. > So it seems that I've got an speedup of 50% approximately. (Not bad!) You should be able to do better, like 8min at most. Something is still getting in your way. > And for the record, from a MSYS bash: > > $ time /c/emacs/trunk/bin/emacs --batch --eval '(message "Hello")' > Hello > > real 0m1.189s > user 0m0.031s > sys 0m0.000s Maybe that's your problem. Does the time go down if you repeat that command? If it doesn't, you may wish to try from cmd.exe.