[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 23.0 is much slower starting than Emacs 22.3

From: David De La Harpe Golden
Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3
Date: Fri, 24 Oct 2008 02:58:04 +0100
User-agent: Mozilla-Thunderbird (X11/20081018)

Lennart Borgman wrote:

It is probably different on w32 then. It looks like `normal-mode'
takes maybe 1.5 time insert+file-attr+file-modes+file-exist on w32.
(But I did not use elp, maybe I missed something.)

I have a vague recollection that emacs' reading of certain file attributes can be slow on w32 as it's emulating them or something?
There's a variable w32-get-true-file-attributes that may be relevant?

Reminds me: the ext3 fs I was testing on was mounted "relatime"
(also turns out NTFS apparently has something very much akin to the atime "feature", something I didn't know until just now, might want to try turning it off [1])

FWIW, elp - I just added the following to the end of my .emacs

(require 'elp)
(setq elp-function-list
          find-file-noselect)) ; and so forth.
(elp-set-master 'find-file-noselect)

Then, starting emacs with
emacs -l fftest.el -f elp-results
I was presented with my profiling results when they were ready.

(or you can hit M-x elp-results)

[1] no. 8 http://www.windowsdevcenter.com/pub/a/windows/2005/02/08/NTFS_Hacks.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]