[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] "atomic knowledge" modeling tool
From: |
Eric S Fraga |
Subject: |
Re: [O] "atomic knowledge" modeling tool |
Date: |
Tue, 16 Feb 2016 19:52:41 +0000 |
User-agent: |
Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.0.91 (gnu/linux) |
On Tuesday, 16 Feb 2016 at 17:44, Nicolas Goaziou wrote:
> Hello,
>
> Samuel Loury <address@hidden> writes:
>
>> Nevertheless, org-mode is rather slow when my todo.org file becomes
>> quite large (~20K lines).
>
> Could you share some profiler information under typical usage so that we
> can tell which parts are slow?
>
> Regards,
Nicolas,
in case it helps you, here are results from elp-instrument-package for
org for a default agenda view. My agenda files have >50k lines.
--8<---------------cut here---------------start------------->8---
org-agenda 1 6.273196422 6.273196422
org-agenda-list 1 6.097429472 6.097429472
org-agenda-prepare 1 5.759004218 5.759004218
org-agenda-prepare-buffers 1 5.74965952 5.74965952
org-get-agenda-file-buffer 24 5.2378653290 0.2182443887
org-mode 12 4.682173111 0.3901810925
org-bullets-mode 12 4.297196221 0.3580996850
org-activate-dates 8094 0.9626486539 0.0001189336
org-do-latex-and-related 57 0.90258761 0.0158348703
org-fontify-meta-lines-and-blocks 558 0.8863723670 0.0015884809
org-fontify-meta-lines-and-blocks-1 558 0.8854672459 0.0015868588
org-src-font-lock-fontify-block 115 0.8548640270 0.0074336002
org-display-custom-time 8081 0.5510519969 6.819...e-05
org-imenu-get-tree 9 0.258258335 0.0286953705
org-refresh-category-properties 12 0.24712266 0.020593555
org-agenda-get-day-entries 12 0.2210667090 0.0184222257
org-parse-time-string 9288 0.1951283320 2.100...e-05
org-fontify-drawers 5818 0.1932821849 3.322...e-05
--8<---------------cut here---------------end--------------->8---
Curiously, org-bullets-mode seems to be the main bottleneck on my system
(Debian testing with 8 core Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz)
If I remove the org-bullets and org-ellipses customisations, I get:
--8<---------------cut here---------------start------------->8---
org-agenda 1 1.442858014 1.442858014
org-agenda-list 1 1.267505347 1.267505347
org-agenda-prepare 1 1.055099145 1.055099145
org-agenda-prepare-buffers 1 1.050210531 1.050210531
org-get-agenda-file-buffer 24 0.6879062640 0.0286627610
org-imenu-get-tree 9 0.2137700209 0.0237522245
org-agenda-get-day-entries 12 0.203279769 0.0169399807
org-agenda-get-restriction-and-command 1 0.175206608 0.175206608
org-agenda-get-scheduled 12 0.161025292 0.0134187743
--8<---------------cut here---------------end--------------->8---
A > 4× improvement!
Maybe the OP is customising bullets as well...
Thanks,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-601-gff9890
- Re: [O] "atomic knowledge" modeling tool, (continued)
- Re: [O] "atomic knowledge" modeling tool, Robert Klein, 2016/02/02
- Re: [O] "atomic knowledge" modeling tool, luke call, 2016/02/02
- Re: [O] "atomic knowledge" modeling tool, Samuel Loury, 2016/02/16
- Re: [O] "atomic knowledge" modeling tool, Eric S Fraga, 2016/02/16
- Re: [O] "atomic knowledge" modeling tool, Nicolas Goaziou, 2016/02/16
- Re: [O] "atomic knowledge" modeling tool,
Eric S Fraga <=
- Re: [O] "atomic knowledge" modeling tool, Samuel Loury, 2016/02/20
- Re: [O] "atomic knowledge" modeling tool, Nicolas Goaziou, 2016/02/21
- Re: [O] "atomic knowledge" modeling tool, Samuel Loury, 2016/02/22
- Re: [O] "atomic knowledge" modeling tool, Eric S Fraga, 2016/02/24
- Re: [O] "atomic knowledge" modeling tool, Samuel Loury, 2016/02/29