From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Any advantages to recompile Emacs... Date: Thu, 11 Dec 2008 19:19:42 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229019710 25049 80.91.229.12 (11 Dec 2008 18:21:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2008 18:21:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Francis Moreau Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 19:22:53 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAqBW-0002RI-KZ for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 19:22:50 +0100 Original-Received: from localhost ([127.0.0.1]:35133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAqAK-0005t7-Ri for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 13:21:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAq8e-0005TU-5T for help-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:19:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAq8c-0005SC-3u for help-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:19:51 -0500 Original-Received: from [199.232.76.173] (port=57350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAq8b-0005S7-Nz for help-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:19:49 -0500 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:59088) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LAq8b-0004Jv-72 for help-gnu-emacs@gnu.org; Thu, 11 Dec 2008 13:19:49 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 003F4F794BD4; Thu, 11 Dec 2008 19:19:47 +0100 (CET) Original-Received: from [91.35.196.86] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1LAq8X-0000GA-00; Thu, 11 Dec 2008 19:19:45 +0100 In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+EIOXGRb4hnE0rlCvWTmPXUfYk4ShQYUEW3z2D U0NetZOYtox4FcJ80rWqF1l+VmyVNkoOLqddbUnlPBI4IBM8FV Ymw11tqK6kDGGOzGFpgw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60561 Archived-At: Am 10.12.2008 um 20:19 schrieb Francis Moreau: > Do you mean that 'emacs -nw' with X support is slower to start than > emacs without X support ? Yes, every time you should be able to determine a few msec difference =20= in launch time. The size of the binaries will vary, the number of =20 shared libraries used and already residing in memory will vary =96 all =20= the nsec and =B5sec saved will add ... every time! This is from Apple's GNU Emacs without windowing support in Mac OS X =20 10.4.11: time /usr/bin/emacs-21.2.1 -nw --no-init-file --no-site-file = -kill =09 Time spent in user mode (CPU seconds) : 0.043s Time spent in kernel mode (CPU seconds) : 0.030s Total time : 0:00.11s CPU utilisation (percentage) : 63.6% My other self-compiled Emacsen (21.3.50, 22.1.50, 22.2, 22.3, =20 23.0.50, 23.0.60) show something like this: time /sw/bin/emacs-21.3.50 -nw --no-init-file --no-site-file = -kill Time spent in user mode (CPU seconds) : 0.103s Time spent in kernel mode (CPU seconds) : 0.094s Total time : 0:00.30s CPU utilisation (percentage) : 63.3% =09 or that: =09 time /sw/bin/emacs-22.3 -nw --no-init-file --no-site-file -kill =09 Time spent in user mode (CPU seconds) : 0.175s Time spent in kernel mode (CPU seconds) : 0.076s Total time : 0:00.33s CPU utilisation (percentage) : 72.7% time /usr/local/bin/emacs-23.0.60 -nw --no-init-file = --no-site-file -=20 kill =09 Time spent in user mode (CPU seconds) : 0.201s Time spent in kernel mode (CPU seconds) : 0.134s Total time : 0:00.50s CPU utilisation (percentage) : 66.0% All measurements after a few invocations if each variant. Each =20 variant with windowing capabilities seems to initialise and restore =20 the terminal emulation (some flashing/wiping effect). Could be GNU =20 Emacs 19.28 is much much faster =96 at least in my memory and on my DEC =20= VTxxx terminal at work ... -- Greetings Pete Well done is better than well said. =96 Benjamin Franklin