From: Lluís <xscript@gmx.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Loading dynamic docstrings and bytecode more lazily
Date: Sat, 09 Feb 2013 12:13:18 +0100 [thread overview]
Message-ID: <87txpl210x.fsf@fulla.xlab.taz> (raw)
In-Reply-To: <jwvwqui3wsz.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 09 Feb 2013 00:13:41 -0500")
Stefan Monnier writes:
[...]
> Sadly, the result is disappointing. When loading cl-macs.elc (i.e. one
> the files where the change should shine), I see a speed up of 4%.
> Admittedly, this is with a warm cache (basically, I read cl-macs.elc
> many times in a loop), whereas the main point of this optimization is to
> reduce I/O, so it should be more useful in the cold cache situation.
> So maybe, the improvement is more significant in other circumstances.
In Linux you can force the system to empty the disk cache with:
sync ; sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
Startup time should also serve as an indicator (provided all files are
recompiled).
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
next prev parent reply other threads:[~2013-02-09 11:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 5:13 Loading dynamic docstrings and bytecode more lazily Stefan Monnier
2013-02-09 9:06 ` Helmut Eller
2013-02-09 11:13 ` Lluís [this message]
2013-02-09 20:09 ` Glenn Morris
2013-02-10 2:02 ` Stefan Monnier
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=87txpl210x.fsf@fulla.xlab.taz \
--to=xscript@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.