From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Two strange messages while building Emacs on MS-Windows Date: Tue, 11 Dec 2012 21:41:55 +0100 Message-ID: References: <83mwxpmtp6.fsf@gnu.org> <83fw3hm0nn.fsf@gnu.org> <83k3srdh3d.fsf@gnu.org> <838v96dgyd.fsf@gnu.org> <8338zecu4i.fsf@gnu.org> <83vcc9aa4a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1355258541 6552 80.91.229.3 (11 Dec 2012 20:42:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 20:42:21 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 11 21:42:34 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 1TiWer-0003b7-3P for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2012 21:42:29 +0100 Original-Received: from localhost ([::1]:33263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiWee-00044O-Es for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2012 15:42:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiWeW-000444-IA for emacs-devel@gnu.org; Tue, 11 Dec 2012 15:42:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiWeQ-000369-S9 for emacs-devel@gnu.org; Tue, 11 Dec 2012 15:42:08 -0500 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:45165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiWeK-00033v-Ds; Tue, 11 Dec 2012 15:41:56 -0500 Original-Received: by mail-oa0-f41.google.com with SMTP id k14so4749972oag.0 for ; Tue, 11 Dec 2012 12:41:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=huO2G4wAzKTO5wyBXAqnM9Mq/dpjDTbaSzHxZG+crS0=; b=V/3W5wASvxDU1Ht2W1NxSZFpSnmE130HbrygEKGTwTFkU5iabjJ8eQCmMcyjBqe9cS KFyx2TGqUEjop3v+XAqBJYjeGvLVn0Tw1nejAIy+VXcq8nqeN1IzvzUDe4FaTSjuYlwz T4WUIY6hQ1fo+bJmvFEEpuYAdeZNnyETTY8nC0VsxZOVE6Z2iFthjv42vNzXFLZPa6Fr dorqz1LAfsbBQI+oN+03xflT8o7KsWMkOmw6a3gZpTG88NCS7tbAwWF2XRESd8KeDkUT mF0i2WaZmSv0vIj4nuvU9ZEJWaCXgfIGtlN1Ki9/gx4YTeJgBfBvKkhVRD2T5DO+AeIx NcLA== Original-Received: by 10.60.23.232 with SMTP id p8mr10043392oef.53.1355258515748; Tue, 11 Dec 2012 12:41:55 -0800 (PST) Original-Received: by 10.60.11.39 with HTTP; Tue, 11 Dec 2012 12:41:55 -0800 (PST) In-Reply-To: <83vcc9aa4a.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.41 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:155480 Archived-At: > 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. 0:51 >> $ 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? I've tried that now, and I observe that the "real" component varies between 145 and 200 ms (without decreasing or increasing tendency; it's kinda random). I don't understand such big difference with the previous measure. In any case, the total bootstrap time keeps about the same: about 15 min. > If it doesn't, you may wish to try from cmd.exe. I don't know what's the best way to measure execution time from a cmd.exe shell. I've written this script: @echo Start %time% @C:\emacs\trunk\bin\emacs --batch --eval '(message "Hello")' @echo End %time% And I get this output when I run it: Start 21:33:04.25 Loading macroexp.elc... End of file during parsing End 21:33:04.42 -- Dani Moncayo