From: Samuel Loury <konubinix@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org, Robert Klein <roklein@roklein.de>,
luke call <luke350@onemodel.org>
Subject: Re: "atomic knowledge" modeling tool
Date: Sat, 20 Feb 2016 19:09:34 +0100 [thread overview]
Message-ID: <87oabbqmn5.fsf@gmail.com> (raw)
In-Reply-To: <87mvr0ppua.fsf@nicolasgoaziou.fr>
[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]
Hi,
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Samuel Loury <konubinix@gmail.com> 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?
I have made a custom agenda command¹ to implement a "kind of" GTD
workflow.
On a quite old computer with no SSD disk, the commands takes about 20
seconds. My org files sum up to 27K lines and 2629 headings (with the
archives, there are 5630 headings in 66K lines).
I attached the result of elp-instrument-package "org-" when running this
command without the archives. I don't know if that helps...
My best :-).
[-- Attachment #1.2: elp-results.txt --]
[-- Type: text/plain, Size: 15598 bytes --]
org-agenda-redo 1 18.5230515 18.5230515
org-agenda-run-series 1 13.822207838 13.822207838
org-let2 4 10.361238463 2.5903096157
org-agenda-get-day-entries 245 7.8211318620 0.0319229871
org-todo-list 1 4.242655788 4.242655788
org-agenda-list 2 3.819318714 1.909659357
org-agenda-get-todos 35 3.592892502 0.1026540714
org-let 2 3.446571314 1.723285657
org-agenda-goto 580 2.7936375289 0.0048166164
org-tags-view 1 2.299200757 2.299200757
org-scan-tags 35 2.293939894 0.0655411398
org-agenda-prepare-buffers 6 2.200799137 0.3667998561
org-agenda-get-sexps 70 2.0172191590 0.0288174165
org-diary-sexp-entry 9 2.0077601339 0.2230844593
org-outline-level 9910 1.9457936820 0.0001963464
org-agenda-prepare 5 1.9130132399 0.3826026479
org-diary 3 1.769465726 0.5898219086
org-agenda-skip-eval 3124 1.6885327159 0.0005405034
org-get-tags-at 2746 1.6866494770 0.0006142204
org-agenda-skip 2126 1.5673435740 0.0007372265
org-agenda-finalize 5 1.534251945 0.306850389
org-agenda-mode 1 1.256090736 1.256090736
org-agenda-get-deadlines 210 1.2349923170 0.0058809157
org-up-heading-safe 3295 1.0934742469 0.0003318586
org-back-to-heading 14062 1.0211351570 7.261...e-05
org-agenda-to-appt 2 0.860954804 0.430477402
org-end-of-subtree 1746 0.8471089869 0.0004851712
org-agenda-finalize-entries 4 0.636714557 0.1591786392
org-refresh-properties 420 0.5715409850 0.0013608118
org-get-entries-from-diary 1 0.461614148 0.461614148
org-agenda-get-timestamps 210 0.4608280769 0.0021944194
org-agenda-get-scheduled 210 0.4060911670 0.0019337674
org-agenda-align-tags 1 0.381108939 0.381108939
org-agenda-highlight-todo 829 0.3807340809 0.0004592690
org-get-todo-state 2071 0.3624726299 0.0001750229
org-refresh-effort-properties 210 0.3425058340 0.0016309801
org-flag-heading 1173 0.2918298459 0.0002487892
org-activate-plain-links 363 0.269716567 0.0007430208
org-refresh-stats-properties 210 0.236244147 0.0011249721
org-refresh-property 264 0.2290685090 0.0008676837
org-show-context 580 0.2155166490 0.0003715804
org-is-habit-p 163 0.176636081 0.0010836569
org-entry-get 163 0.1753869669 0.0010759936
org-at-heading-p 1900 0.174510528 9.184...e-05
org-add-props 3269 0.1695289019 5.185...e-05
org-refresh-category-properties 210 0.1497992819 0.0007133299
org-get-property-block 163 0.1457827149 0.0008943724
org-get-priority 829 0.1429626089 0.0001724518
org-set-regexps-and-options 210 0.136650908 0.0006507186
org--setup-collect-keywords 210 0.1229621449 0.0005855340
org-agenda-format-item 829 0.1050695749 0.0001267425
org-get-category 3519 0.0914322270 2.598...e-05
org-in-src-block-p 1766 0.0860844819 4.874...e-05
org-agenda-get-blocks 210 0.0832802819 0.0003965727
org-entry-end-position 778 0.0787265670 0.0001011909
org-entry-is-todo-p 751 0.0776375339 0.0001033788
org-up-heading-all 610 0.0598036259 9.803...e-05
org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item 813 0.0583817149 7.181...e-05
org-agenda-filter-hide-line 577 0.0522987609 9.063...e-05
org-remove-uninherited-tags 4771 0.0488917340 1.024...e-05
org-before-first-heading-p 271 0.0463997559 0.0001712168
org-in-commented-heading-p 108 0.0446132810 0.0004130859
org-entries-lessp 5054 0.0439070989 8.687...e-06
org-agenda-new-marker 910 0.0324646750 3.567...e-05
org-split-string 5077 0.0264297079 5.205...e-06
org-time-string-to-absolute 466 0.0259199169 5.562...e-05
org-agenda-skip-entry-if 83 0.025300005 0.0003048193
org-agenda-skip-if 83 0.0245959989 0.0002963373
org-heading-components 108 0.0238744769 0.0002210599
org-at-date-range-p 140 0.0197131970 0.0001408085
org-agenda-next-line 3 0.0177574949 0.005919165
org-element-at-point 156 0.0176722900 0.0001132839
org-duration-string-to-minutes 258 0.0167313919 6.485...e-05
org-delete-all 4771 0.0151493819 3.175...e-06
org-closest-date 261 0.0144236230 5.526...e-05
org-agenda-fontify-priorities 1 0.013531958 0.013531958
org-agenda-fix-displayed-tags 829 0.0118286680 1.426...e-05
org-parse-time-string 1124 0.0114053649 1.014...e-05
org-agenda-todayp 422 0.0103027069 2.441...e-05
org-add-prop-inherited 4881 0.0098532380 2.018...e-06
org-get-agenda-file-buffer 490 0.0092890250 1.895...e-05
org-agenda-files 11 0.009174281 0.0008340255
org-check-agenda-file 350 0.0080492230 2.299...e-05
org-get-todo-face 829 0.0077686530 9.371...e-06
org-deadline-close 91 0.0076770970 8.436...e-05
org-today 460 0.0071581679 1.556...e-05
org-get-at-bol 2142 0.0071573680 3.341...e-06
org-time-string-to-time 311 0.0071192639 2.289...e-05
org-make-options-regexp 210 0.0069179279 3.294...e-05
org-reduced-level 3627 0.0069154000 1.906...e-06
org-agenda-do-context-action 4 0.0067535819 0.0016883954
org-element--parse-to 156 0.0065409930 4.192...e-05
org-display-outline-path 3 0.006070186 0.0020233953
org-downcase-keep-props 2243 0.0059832310 2.667...e-06
org-find-base-buffer-visiting 490 0.0057326380 1.169...e-05
org-date-to-gregorian 524 0.0053974869 1.030...e-05
org-get-outline-path 3 0.0051325649 0.0017108549
org-time-stamp-to-now 91 0.0045588199 5.009...e-05
org-get-time-of-day 758 0.0039589509 5.222...e-06
org-agenda-previous-line 1 0.00382381 0.00382381
org-get-limited-outline-regexp 312 0.0036882469 1.182...e-05
org-float-time 916 0.0027414150 2.992...e-06
org--setup-process-tags 210 0.0026763079 1.274...e-05
org-get-wdays 442 0.0026089240 5.902...e-06
org-agenda-get-category-icon 829 0.0022308920 2.691...e-06
org-font-lock-add-tag-faces 1 0.001958978 0.001958978
org-activate-bracket-links 2 0.0019522040 0.0009761020
org-anniversary 344 0.0018422660 5.355...e-06
org-string-nw-p 156 0.0017785829 1.140...e-05
org-face-from-face-or-color 879 0.0015593449 1.773...e-06
org-hh:mm-string-to-minutes 258 0.0015428520 5.980...e-06
org-current-time 86 0.001275864 1.483...e-05
org-entry-is-done-p 16 0.001181296 7.3831e-05
org-element--cache-find 156 0.0009691239 6.212...e-06
org-element--cache-sync 156 0.000827692 5.305...e-06
org-remove-flyspell-overlays-in 363 0.0007625870 2.100...e-06
org-unlogged-message 3 0.00064303 0.0002143433
org-string-match-p 156 0.0006300319 4.038...e-06
org-element-property 312 0.0005548900 1.778...e-06
org-agenda-reset-markers 3 0.00047429 0.0001580966
org-uniquify-alist 210 0.0004410470 2.100...e-06
org-invisible-p2 16 0.00036094 2.255875e-05
org-compile-prefix-format 7 0.000306674 4.381...e-05
org-not-nil 163 0.0003005910 1.844...e-06
org-element-type 156 0.0002935400 1.881...e-06
org-agenda-deadline-face 57 0.0002012130 3.530...e-06
org-make-tags-matcher 1 0.000197721 0.000197721
org-unhighlight 8 0.00016329 2.041125e-05
org-agenda-mark-header-line 4 0.000149599 3.739975e-05
org-days-to-iso-week 6 8.716...e-05 1.452...e-05
org-file-menu-entry 35 8.576...e-05 2.450...e-06
org-agenda-get-day-face 2 8.5626e-05 4.2813e-05
org-agenda-span-name 14 8.402e-05 6.001...e-06
org-agenda-format-date-aligned 2 8.3531e-05 4.17655e-05
org-diary-default-entry 1 7.8082e-05 7.8082e-05
org-add-to-diary-list 1 6.9422e-05 6.9422e-05
org-modify-diary-entry-string 1 6.0482e-05 6.0482e-05
org-agenda-cleanup-fancy-diary 1 5.9715e-05 5.9715e-05
org-agenda-add-time-grid-maybe 2 4.8958e-05 2.4479e-05
org-format-outline-path 3 4.5537e-05 1.5179e-05
org-agenda-update-agenda-type 8 2.968...e-05 3.710...e-06
org-detach-overlay 8 2.689e-05 3.36125e-06
org--update-property-plist 6 2.1652e-05 3.608...e-06
org-add-hook 4 2.116...e-05 5.290...e-06
org-set-sorting-strategy 7 1.5644e-05 2.234...e-06
org-tags-expand 1 1.5365e-05 1.5365e-05
org-link-unescape 1 1.2013e-05 1.2013e-05
org-agenda-use-sticky-p 5 9.359e-06 1.8718e-06
org-agenda-prepare-window 1 9.359e-06 9.359e-06
org-agenda-set-mode-name 1 8.311e-06 8.311e-06
org-agenda-ndays-to-span 4 7.054...e-06 1.763...e-06
org-agenda-span-to-ndays 2 4.82e-06 2.41e-06
org-release-buffers 2 4.608...e-06 2.304...e-06
org-agenda-fit-window-to-buffer 1 3.422e-06 3.422e-06
org-agenda-mark-clocking-task 1 1.816e-06 1.816e-06
[-- Attachment #1.3: Type: text/plain, Size: 213 bytes --]
¹ https://github.com/Konubinix/Devel/blob/master/config/elfiles/config/after-loads/KONIX_AL-org.el#L854
--
Konubinix
GPG Key : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2016-02-20 18:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-29 18:21 "atomic knowledge" modeling tool luke call
2016-01-31 12:32 ` Eric S Fraga
2016-02-01 22:15 ` luke call
2016-02-02 8:49 ` Eric S Fraga
2016-02-03 9:33 ` Marcin Borkowski
2016-02-03 14:47 ` luke call
2016-02-03 17:15 ` Bingo UV
2016-02-03 18:22 ` luke call
2016-01-31 15:37 ` Ramon Diaz-Uriarte
2016-02-01 21:25 ` luke call
2016-02-03 8:04 ` Ramon Diaz-Uriarte
2016-02-02 7:23 ` Robert Klein
2016-02-02 15:20 ` luke call
2016-02-16 14:14 ` Samuel Loury
2016-02-16 16:18 ` Eric S Fraga
2016-02-16 16:44 ` Nicolas Goaziou
2016-02-16 19:52 ` Eric S Fraga
2016-02-20 18:09 ` Samuel Loury [this message]
2016-02-21 11:21 ` Nicolas Goaziou
2016-02-22 9:04 ` Samuel Loury
2016-02-24 16:46 ` Eric S Fraga
2016-02-29 13:31 ` Samuel Loury
2016-03-06 19:26 ` Samuel Loury
2016-03-07 15:28 ` Eric S Fraga
2016-03-10 8:01 ` Samuel Loury
2016-03-18 21:44 ` Samuel Loury
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oabbqmn5.fsf@gmail.com \
--to=konubinix@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=luke350@onemodel.org \
--cc=mail@nicolasgoaziou.fr \
--cc=roklein@roklein.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).