[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] slow capture templates
From: |
jamil egdemir |
Subject: |
Re: [O] slow capture templates |
Date: |
Thu, 22 May 2014 11:51:04 -0400 |
Bastien,
I've pulled the latest org from git and added it to my load-path:
;; to make sure we're using the latest org checkout from git:
(add-to-list 'load-path "~/home/jegdemir/buildarea/org-mode/lisp")
(add-to-list 'load-path "~/home/jegdemir/buildarea/org-mode/contrib/lisp" t)
and now when I evaluate org-version in my *scratch* I get:
(org-version)"8.2.6"
so it seems I'm tracking with development now.
I reran the profiler with org instrumented:
org-get-x-clipboard 6
62.326623797 10.387770632
org-get-x-clipboard-compat 6
62.326477761 10.387746293
org-make-link-string 1
0.026009872 0.026009872
org-image-file-name-regexp 1
0.025920266 0.025920266
org-clock-in 1
0.004433664 0.004433664
org-mode-flyspell-verify 1
0.002293867 0.002293867
org-indent-refresh-maybe 18
0.001712022 9.511...e-05
org-switch-to-buffer-other-window 2
0.001558158 0.000779079
org-clock-find-position 1
0.001489784 0.001489784
org-mode 1
0.001480635 0.001480635
I have also tried the capture templates with and without X
since the profile indicated that the largest
consumers of time were dealing with the clipboard. Sure enough
the capture templates are greased lightning quick when run in emacs w/o X:
org-capture 1
1.161324914 1.161324914
org-capture-select-template 1
1.1253895489 1.1253895489
org-mks 1
1.125358958 1.125358958
org-clock-in 1
0.030630571 0.030630571
org-clock-find-position 1
0.025617154 0.025617154
org-indent-line 3
0.0251875609 0.0083958536
org-in-item-p 6
0.0249584120 0.0041597353
org-list-context 6
0.024542436 0.004090406
org-resolve-clocks 1
0.002721156 0.002721156
org-find-open-clocks 3
0.0025130990 0.0008376996
org-capture-fill-template 1
0.002402191 0.002402191
org-capture-place-template 1
0.002357772 0.002357772
org-capture-place-entry 1
0.001994248 0.001994248
org-mode 1
0.001423784 0.001423784
org-indent-refresh-maybe 14
0.001286477 9.189...e-05
<..snip..>
So it seems there is a connection with X.
-jamil
- [O] slow capture templates, jamil egdemir, 2014/05/22
- Re: [O] slow capture templates, Bastien, 2014/05/22
- Re: [O] slow capture templates,
jamil egdemir <=
- Re: [O] slow capture templates, Bastien, 2014/05/22
- [O] Fwd: slow capture templates, jamil egdemir, 2014/05/22
- Re: [O] Fwd: slow capture templates, Nick Dokos, 2014/05/22
- Re: [O] Fwd: slow capture templates, Bastien, 2014/05/23
- Re: [O] Fwd: slow capture templates, Nick Dokos, 2014/05/23