[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:44:31 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
David De La Harpe Golden wrote:
+++ Which leaves set-auto-mode...
Which seems to be mostly the particular mode - So of course, this can
presumably vary wildly from mode to mode, but let's take c-mode (seeing
as it's for the c files I was testing with):
set-auto-mode->set-auto-mode-0->
c-mode-> (c-init-language-vars-for,
c-common-init->(c-basic-common-init,
run some internal hooks, like the "neutralize"), ...)
See existing c-neutralize-syntax-in-CPP initial comment:
"SPEED _MATTERS_ IN THIS FUNCTION!!!"
Profiling confirms - yes, it does. :-)
find-file-noselect 180 3.1810370000 0.0176724277
find-file-noselect-1 180 2.48014 0.0137785555
after-find-file 180 2.1637470000 0.0120208166
normal-mode 180 2.010236 0.0111679777
set-auto-mode 180 1.0771709999 0.0059842833
set-auto-mode-0 180 1.0480739999 0.0058226333
c-mode 180 1.047115 0.0058173055
hack-local-variables 180 0.9007970000 0.0050044277
c-common-init 180 0.8647119999 0.0048039555
c-neutralize-syntax-in-CPP 180 0.7705030000 0.0042805722
run-hooks 2357 0.2052220000 8.706...e-05
c-init-language-vars-for 180 0.112398 0.0006244333
c-basic-common-init 180 0.0799130000 0.0004439611
c-neutralize-CPP-line 14000 0.0594100000 4.243...e-06
make-local-variable 10477 0.0177539999 1.694...e-06
set-auto-mode-1 362 0.0149190000 4.121...e-05
kill-all-local-variables 361 0.0091960000 2.547...e-05
c-setup-paragraph-variables 361 0.0060069999 1.663...e-05
c-update-modeline 360 0.005464 1.517...e-05
c-extend-region-for-CPP 180 0.0043769999 2.431...e-05
c-font-lock-init 180 0.0036940000 2.052...e-05
cc-imenu-init 180 0.0008029999 4.461...e-06
c-initialize-cc-mode 180 0.0003749999 2.083...e-06
easy-menu-add 180 0.0002349999 1.305...e-06
set-syntax-table 182 0.0001749999 9.615...e-07
use-local-map 182 0.0001659999 9.120...e-07
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, (continued)
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Eli Zaretskii, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Richard M. Stallman, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/23
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Lennart Borgman, 2008/10/23
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/23
- Re: Emacs 23.0 is much slower starting than Emacs 22.3,
David De La Harpe Golden <=
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Eli Zaretskii, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Alan Mackenzie, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Alan Mackenzie, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Stefan Monnier, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, Stefan Monnier, 2008/10/24
- Re: Emacs 23.0 is much slower starting than Emacs 22.3, David De La Harpe Golden, 2008/10/24