[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any advantages to recompile Emacs...
From: |
Peter Dyballa |
Subject: |
Re: Any advantages to recompile Emacs... |
Date: |
Thu, 11 Dec 2008 19:19:42 +0100 |
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
in launch time. The size of the binaries will vary, the number of
shared libraries used and already residing in memory will vary – all
the nsec and µsec saved will add ... every time!
This is from Apple's GNU Emacs without windowing support in Mac OS X
10.4.11:
time /usr/bin/emacs-21.2.1 -nw --no-init-file --no-site-file -kill
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,
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%
or that:
time /sw/bin/emacs-22.3 -nw --no-init-file --no-site-file -kill
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 -
kill
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
variant with windowing capabilities seems to initialise and restore
the terminal emulation (some flashing/wiping effect). Could be GNU
Emacs 19.28 is much much faster – at least in my memory and on my DEC
VTxxx terminal at work ...
--
Greetings
Pete
Well done is better than well said.
– Benjamin Franklin