From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Two strange messages while building Emacs on MS-Windows Date: Mon, 10 Dec 2012 16:42:15 +0100 Message-ID: <87txrtzzfs.fsf@wanadoo.es> References: <83mwxpmtp6.fsf@gnu.org> <83fw3hm0nn.fsf@gnu.org> <83k3srdh3d.fsf@gnu.org> <878v97xfbi.fsf@wanadoo.es> <83boe3cb2e.fsf@gnu.org> <874njvxbrs.fsf@wanadoo.es> <837goqdgaw.fsf@gnu.org> <87zk1mx2ua.fsf@wanadoo.es> <83624acufq.fsf@gnu.org> <87d2yi17s5.fsf@wanadoo.es> <83fw3eas78.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355154164 30598 80.91.229.3 (10 Dec 2012 15:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 15:42:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 16:42:57 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 1Ti5VM-0001eG-6L for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 16:42:52 +0100 Original-Received: from localhost ([::1]:46870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti5V9-0004N7-Oz for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 10:42:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti5V2-0004MA-VV for emacs-devel@gnu.org; Mon, 10 Dec 2012 10:42:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ti5Ux-0006zF-4G for emacs-devel@gnu.org; Mon, 10 Dec 2012 10:42:32 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti5Uw-0006z7-TH for emacs-devel@gnu.org; Mon, 10 Dec 2012 10:42:27 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ti5V7-0001L1-8m for emacs-devel@gnu.org; Mon, 10 Dec 2012 16:42:37 +0100 Original-Received: from 126.red-88-13-105.dynamicip.rima-tde.net ([88.13.105.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Dec 2012 16:42:37 +0100 Original-Received: from ofv by 126.red-88-13-105.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Dec 2012 16:42:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 126.red-88-13-105.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:VHCcrVDsZ3AHpUs/ugbMqA6vM4U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:155435 Archived-At: Eli Zaretskii writes: >> time /c/apps/emacs/bin/emacs --batch --eval '(message "Hello")' >> >> 0.047 s > > So what does this say about the efficiency of starting programs on > Windows as compared to GNU/Linux? It says that MS Windows is ~80% slower than GNU/Linux at running emacs with for evaling a simple expression :-) Serioulsy, though, Emacs does quite a few things at startup. My day to day experience is that GNU/Linux efficiency at starting processes make a difference when running lots of instances of short-lived programs, as, for instance, a compiler test suite. Years ago, I worked on MS-Windows native and on a virtualized Debian install: running the test suite for the compiler I was working on required more than twice the time on MS-Windows than on the Debian virtual machine. As for emacs build times, the startup time is small enough to not make it all that relevant while running >1000 times emacs.exe for compiling all the .el files. Still, I don't understand how your i7 is 90% slower than my old Q6600, running the same OS. IIRC you mentioned that your build is unoptimized. Mine is with default configuration, which defaults to -O2.