From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: emacs trying to load too many files at startup
Date: Sun, 20 Nov 2005 12:12:14 -0500 [thread overview]
Message-ID: <87ek5b6yad.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200511191831.jAJIVJTp026147@scanner2.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 19 Nov 2005 10:31:16 -0800")
> There are about 2400 stat syscalls during the startup.
> emacs-21.4 does about 230 stat64 syscalls...
We should be able to bring those way down:
1 - just before dumping, turn things like "lisp-mode.elc"
into "emacs-lisp/lisp-mode.elc". This requires many stat calls but
who cares.
2 - at startup blindly prepend /foo/bar/22.0.50/lisp/ to each and every
non-absolute item in load-history. No stat calls here.
Stefan
next prev parent reply other threads:[~2005-11-20 17:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-19 18:31 emacs trying to load too many files at startup Dan Nicolaescu
2005-11-19 19:09 ` Eli Zaretskii
2005-11-19 19:49 ` Dan Nicolaescu
2005-11-19 20:07 ` Eli Zaretskii
2005-11-19 20:17 ` Dan Nicolaescu
2005-11-20 23:23 ` Richard M. Stallman
2005-11-19 20:16 ` Luc Teirlinck
2005-11-19 20:19 ` Dan Nicolaescu
2005-11-20 17:12 ` Stefan Monnier [this message]
2005-11-21 8:09 ` Richard M. Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ek5b6yad.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.