[Ilugc] [OT]Emacs Xrayed with DTrace

Joe Steeve joe_steeve at gmx.net
Tue Nov 28 11:36:50 IST 2006


benjamin wrote:
> tries to open the ~/.emacs configuration file once. *Even* if this
> call fails, it proceeds to do *twenty* stat64() on *each of* .emacs,
> .emacs.el, emacs.el.gz, .emacs.elc, .emacs.elc.gz – That is 100
> useless stat64() calls on a non existent file. Just imagine this when
> your home directory is mounted over NFS! We then found the call stacks

Well., obviously because GNU Emacs tries to find a 'startup file' which
might be either just elisp., or compiled elisp., or gzipped elisp.,
etc., which can be in different locations and not just in the root of
your home folder. Different people want to arrange their configuration
files in different ways.

DTrace is surely a good tool for profiling and instrumentation., but
that does not mean an application should cut down its features just
because it is resource expensive to have them.

> http://blogs.sun.com/ananth/

:)

-- 
.o. I'm a Free man. I use GNU/Linux.
..o
ooo [W] http://www.joesteeve.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.ae.iitm.ac.in/pipermail/ilugc/attachments/20061128/c4d09c03/signature-0001.bin


More information about the ilugc mailing list