From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: Slow speed of week and month views
Date: Sun, 6 Aug 2017 12:18:53 +0200 [thread overview]
Message-ID: <2017-08-06T12-13-46@devnull.Karl-Voit.at> (raw)
In-Reply-To: 87poc9dp2g.fsf@nicolasgoaziou.fr
* Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> I just learned about elp-instrument-package. What prefixes are of interest to
>> you?
>
> "org-" prefix. The nice thing about `elp-instrument-package' is that is
> reports the number of times a function is called.
Results at the end of this posting.
>> un-compiled agenda profiler-report:
>
> Thank you. However, there is much cruft going on there. "yankpad-",
> "ivy-", "yas-"... Even `profiler-report-write-profile' is registered in
> there.
Yes, this is my configuration ;-)
I'm no expert in interpreting the results but as far as I understood
it, the cruft you mentioned takes only a fraction of CPU time for
the task.
> Could you try to minimize as much as possible the non-Org interaction?
> You may need to load a minimal config to do so. You could also try to
> evaluate the command you want to time with M-: instead of M-x, e.g.
>
> M-: (org-agenda nil "a")
I may take some time to come up with a minimum config and my agenda
files.
However, in case this is much faster compared to my current
situation, this does not help me with my issues and just shows that
Org itself does not have urgent performance issues, right?
org-agenda-list 1 22.456601085 22.456601085
org-agenda-get-day-entries 17 18.255724348 1.0738661381
org-agenda-get-scheduled 17 14.40543005 0.8473782382
org-element--parse-elements 2712 8.0038418899 0.0029512691
org-entry-get 2002 6.3268592120 0.0031602693
org--property-local-values 1937 6.1333810950 0.0031664331
org-is-habit-p 1779 5.9716177949 0.0033567272
org-get-property-block 1943 5.5327713039 0.0028475405
org-back-to-heading 7664 5.1811751059 0.0006760405
org-at-planning-p 2338 4.4562334949 0.0019060023
org-inlinetask-in-task-p 4191 3.4042555110 0.0008122776
org-get-todo-state 2284 3.3749943680 0.0014776682
org-agenda-get-deadlines 17 2.7361401300 0.1609494194
org-agenda-prepare 1 2.200086025 2.200086025
org-agenda-prepare-buffers 1 1.980565276 1.980565276
org-element-parse-buffer 6 1.4980202550 0.2496700425
org-agenda-finalize 1 1.094985093 1.094985093
org-agenda-skip 2545 1.0722660840 0.0004213226
org-end-of-subtree 449 1.0195991870 0.0022708222
org-element--current-element 6040 0.8202829350 0.0001358084
org-get-entries-from-diary 1 0.806067286 0.806067286
org-up-heading-safe 398 0.7662179339 0.0019251706
org-get-tags-at 126 0.7296816199 0.0057911239
org-before-first-heading-p 2036 0.7035860589 0.0003455727
org-agenda-dim-blocked-tasks 1 0.689500952 0.689500952
org-element--parse-objects 4566 0.6892202150 0.0001509461
org-entry-blocked-p 61 0.678698494 0.0111262048
org-agenda-get-blocks 17 0.628517483 0.0369716166
org-outline-level 1353 0.5567370970 0.0004114834
org-add-props 15547 0.5454277439 3.508...e-05
org-element-item-parser 1698 0.5263746370 0.0003099968
org-indent-refresh-maybe 6 0.495835792 0.0826392986
org-indent-add-properties 6 0.4955369260 0.0825894876
org-agenda-get-timestamps 17 0.4623098930 0.0271946995
org-block-todo-from-children-or-siblings-or-parent 61 0.3965410289 0.0065006726
org-refresh-category-properties 17 0.363467201 0.0213804235
org-at-item-p 5646 0.3450254890 6.110...e-05
org-list-in-valid-context-p 1698 0.3091587659 0.0001820723
org-in-block-p 1698 0.3039967379 0.0001790322
org-agenda-mode 1 0.219065373 0.219065373
org-between-regexps-p 6792 0.1952452710 2.874...e-05
org-set-regexps-and-options 23 0.1858347920 0.0080797735
org--setup-collect-keywords 25 0.1807199010 0.0072287960
org-at-heading-p 6015 0.1549813460 2.576...e-05
org-depend-block-todo 45 0.147637119 0.0032808248
org-agenda--timestamp-to-absolute 4282 0.1214312879 2.835...e-05
org-time-string-to-absolute 4282 0.1054320980 2.462...e-05
org-get-limited-outline-regexp 8392 0.0991706369 1.181...e-05
org-in-src-block-p 2481 0.0879872789 3.546...e-05
org-element--object-lex 5148 0.0862918539 1.676...e-05
org-indent-set-line-properties 5832 0.0773937020 1.327...e-05
org-element-at-point 43 0.0534147080 0.0012422025
org-at-date-range-p 167 0.0512554689 0.0003069189
org-element--parse-to 43 0.050396487 0.0011720113
org-find-entry-with-id 4 0.049598946 0.0123997365
org-find-property 4 0.049565889 0.0123914722
org-element-paragraph-parser 2499 0.0472630119 1.891...e-05
org-closest-date 2179 0.0333128859 1.528...e-05
org-in-regexp 6792 0.0328371180 4.834...e-06
org-parse-time-string 4980 0.0325066720 6.527...e-06
org-element--list-struct 204 0.0299346770 0.0001467386
org-agenda-finalize-entries 1 0.028590852 0.028590852
org-element-headline-parser 186 0.0279479120 0.0001502575
org-agenda-format-item 63 0.0225724880 0.0003582934
org-at-property-p 6 0.021528419 0.0035880698
org-agenda-get-sexps 17 0.0213119410 0.0012536435
org-tag-string-to-alist 7 0.019620708 0.0028029582
org-entry-is-done-p 62 0.019182333 0.0003093924
org-list-item-body-column 1698 0.0190441769 1.121...e-05
org-entries-lessp 289 0.0187772820 6.497...e-05
org-entry-properties 65 0.0166800490 0.0002566161
org-in-commented-heading-p 11 0.016132671 0.0014666064
org-element-comment-parser 38 0.0139885649 0.0003681201
org-habit-parse-todo 4 0.013850074 0.0034625185
org-inlinetask-outline-regexp 4191 0.0137324080 3.276...e-06
org-agenda-get-category-icon 63 0.0134784819 0.0002139441
org-element--collect-affiliated-keywords 1858 0.0126514760 6.809...e-06
org-mode 6 0.0117698550 0.0019616425
org-get-priority 59 0.0115445370 0.0001956701
org-agenda-align-tags 1 0.011071635 0.011071635
org-element-link-parser 340 0.0101422319 2.983...e-05
org-entry-is-todo-p 41 0.010028271 0.0002445919
org-element-keyword-parser 275 0.0092091630 3.348...e-05
org-time-string-to-time 694 0.0087923020 1.266...e-05
org-heading-components 15 0.0070980520 0.0004732034
org-get-heading 14 0.006817632 0.0004869737
org-get-indentation 3948 0.0068139819 1.725...e-06
org-item-re 7010 0.0066241309 9.449...e-07
org-agenda-highlight-todo 63 0.0064883529 0.0001029897
org-install-agenda-files-menu 6 0.0058662939 0.0009777156
org-element-section-parser 156 0.0054134160 3.470...e-05
org-agenda-files 9 0.0050733739 0.0005637082
org-get-wdays 2101 0.0049502890 2.356...e-06
org-agenda-new-marker 127 0.0047657869 3.752...e-05
org-activate-links 17 0.004302121 0.0002530659
org-element-drawer-parser 216 0.0039796950 1.842...e-05
org-element-bold-parser 1254 0.0037389459 2.981...e-06
org-element-plain-list-parser 354 0.0034136569 9.643...e-06
org-element-set-contents 7092 0.0033066540 4.662...e-07
org-element-table-cell-parser 1224 0.0031456279 2.569...e-06
org-agenda-skip-eval 4962 0.0031400739 6.328...e-07
org-element-map 6 0.00309839 0.0005163983
org-element-table-row-parser 456 0.0029639309 6.499...e-06
org-element-src-block-parser 42 0.0024836220 5.913...e-05
org-element-table-parser 84 0.0023370089 2.782...e-05
org-check-agenda-file 34 0.0022809730 6.708...e-05
org-habit-insert-consistency-graphs 1 0.002140971 0.002140971
org-make-options-regexp 23 0.0020471070 8.900...e-05
org-date-to-gregorian 306 0.0020049500 6.552...e-06
org-not-nil 3902 0.0019919079 5.104...e-07
org-mark-ring-push 2 0.001923639 0.0009618195
org-element--get-node-properties 186 0.0016896940 9.084...e-06
org-get-category 63 0.0016745019 2.657...e-05
org-remove-uninherited-tags 250 0.0010946129 4.378...e-06
org-agenda-fix-displayed-tags 63 0.0010371940 1.646...e-05
org-get-agenda-file-buffer 34 0.00101761 2.992...e-05
org-today 91 0.000911803 1.001...e-05
org-find-base-buffer-visiting 34 0.0008710779 2.561...e-05
org-get-repeat 4 0.0008627859 0.0002156964
org-split-string 216 0.0008330470 3.856...e-06
org-element-quote-block-parser 30 0.000754545 2.51515e-05
org-habit-build-graph 4 0.000723021 0.0001807552
org-link-expand-abbrev 84 0.0006686299 7.959...e-06
org-get-scheduled-time 4 0.000649615 0.0001624037
org-element-italic-parser 156 0.000549965 3.525...e-06
org-element-subscript-parser 90 0.000514684 5.718...e-06
org-element--get-time-properties 186 0.0004972190 2.673...e-06
org-find-invisible-foreground 6 0.0004684680 7.807...e-05
org-agenda-today-p 35 0.0004448479 1.270...e-05
org-agenda-quit 1 0.000391807 0.000391807
org-agenda--quit 1 0.000379794 0.000379794
org-set-startup-visibility 6 0.0003552530 5.920...e-05
org-unescape-code-in-string 42 0.0003384670 8.058...e-06
org-indent-mode 6 0.000272112 4.5352e-05
org-indent-notify-modified-headline 6 0.00027114 4.519e-05
org-delete-all 256 0.0002682720 1.047...e-06
org-setup-filling 6 0.000266367 4.439...e-05
org-get-time-of-day 24 0.0002553330 1.063...e-05
org-add-prop-inherited 150 0.0002186310 1.457...e-06
org-reduced-level 264 0.0002176899 8.245...e-07
org-agenda-fontify-priorities 1 0.00018978 0.00018978
org-tag-alist-to-groups 23 0.00018918 8.225...e-06
org-downcase-keep-props 119 0.00018673 1.569...e-06
org-element-latex-fragment-parser 48 0.0001767690 3.682...e-06
org-refresh-effort-properties 6 0.0001657769 2.762...e-05
org-get-todo-face 61 0.000163882 2.686...e-06
org-string-nw-p 94 0.0001472979 1.566...e-06
org-refresh-properties 6 0.0001372320 2.287...e-05
org-macro-initialize-templates 6 0.0001306730 2.177...e-05
org-extract-log-state-settings 42 0.0001298379 3.091...e-06
org-element--cache-put 310 0.0001260349 4.065...e-07
org-file-menu-entry 119 0.0001125649 9.459...e-07
org-agenda-add-time-grid-maybe 1 0.000109388 0.000109388
org-replace-escapes 4 0.000105688 2.6422e-05
org-element-timestamp-parser 12 0.0001047390 8.72825e-06
org-agenda-prepare-window 1 9.9871e-05 9.9871e-05
org-current-level 6 9.577...e-05 1.596...e-05
org-cycle-hide-archived-subtrees 6 9.5675e-05 1.594...e-05
org-set-font-lock-defaults 6 9.310...e-05 1.551...e-05
org-indent-initialize-agent 9 8.4457e-05 9.384...e-06
org-link-get-parameter 108 7.829...e-05 7.249...e-07
org-macro--collect-macros 6 7.703...e-05 1.283...e-05
org-element-underline-parser 12 7.525e-05 6.270...e-06
org-element-fixed-width-parser 6 7.4863e-05 1.247...e-05
org-cycle-show-empty-lines 6 7.3664e-05 1.227...e-05
org-diary-default-entry 1 7.0578e-05 7.0578e-05
org-habit-get-faces 112 6.4307e-05 5.741...e-07
org-agenda-cleanup-fancy-diary 1 6.356e-05 6.356e-05
org-element-strike-through-parser 6 6.255...e-05 1.042...e-05
org-agenda-reset-markers 2 6.045e-05 3.0225e-05
org-add-to-diary-list 1 6.0132e-05 6.0132e-05
org-element-property 116 5.776...e-05 4.979...e-07
org-element-footnote-reference-parser 6 5.7708e-05 9.618e-06
org-modify-diary-entry-string 1 5.1566e-05 5.1566e-05
org-habit-get-priority 4 4.9648e-05 1.2412e-05
org-hide-archived-subtrees 6 4.606...e-05 7.678...e-06
org-agenda-format-date-aligned 1 4.2942e-05 4.2942e-05
org-update-radio-target-regexp 6 3.823...e-05 6.372...e-06
org-compile-prefix-format 1 3.7413e-05 3.7413e-05
org-remove-keyword-keys 6 3.4821e-05 5.8035e-06
org-setup-comments-handling 6 2.999...e-05 4.999...e-06
org-cycle-hide-drawers 6 2.991...e-05 4.985...e-06
org-element-statistics-cookie-parser 6 2.7851e-05 4.641...e-06
org-agenda-get-day-face 1 2.6736e-05 2.6736e-05
org-element-type 43 2.670...e-05 6.210...e-07
org-habit-duration-to-days 5 2.6443e-05 5.288...e-06
org-overview 6 2.4111e-05 4.0185e-06
org-set-visibility-according-to-property 6 2.3298e-05 3.883e-06
org-skip-whitespace 6 2.1282e-05 3.547e-06
org-compute-latex-and-related-regexp 6 1.661...e-05 2.768...e-06
org-face-from-face-or-color 63 1.6135e-05 2.561...e-07
org-assign-fast-keys 6 1.3769e-05 2.294...e-06
org-days-to-iso-week 1 1.3219e-05 1.3219e-05
org-element-cache-reset 6 9.770...e-06 1.628...e-06
org-remove-flyspell-overlays-in 16 8.941e-06 5.588125e-07
org-check-running-clock 6 6.843e-06 1.140...e-06
org-load-modules-maybe 6 5.871e-06 9.785e-07
org-agenda-set-mode-name 1 5.861e-06 5.861e-06
org-unhighlight 2 5.846e-06 2.923e-06
org-before-change-function 6 4.290...e-06 7.15e-07
org-property-inherit-p 6 4.238...e-06 7.064...e-07
org-unbracket-string 2 4.196e-06 2.098e-06
org-agenda-update-agenda-type 2 3.555e-06 1.7775e-06
org-time-stamp-format 8 3.013e-06 3.76625e-07
org-table-sticky-header--scroll-function 1 2.138e-06 2.138e-06
org-agenda-ndays-to-span 2 1.525e-06 7.625e-07
org-agenda-fit-window-to-buffer 1 1.452e-06 1.452e-06
org-agenda-mark-clocking-task 1 1.257e-06 1.257e-06
org-set-sorting-strategy 1 1.201e-06 1.201e-06
org-agenda-span-name 1 1.092e-06 1.092e-06
org-font-lock-add-tag-faces 1 1.031e-06 1.031e-06
org-agenda-span-to-ndays 1 1.02e-06 1.02e-06
org-agenda-use-sticky-p 1 1.018e-06 1.018e-06
--
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/
Emacs-related > http://Karl-Voit.at/tags/emacs/
next prev parent reply other threads:[~2017-08-06 10:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-04 15:14 [Orgmode] Slow speed of week and month views Christoph Groth
2017-08-05 3:07 ` Adam Porter
2017-08-05 21:09 ` Karl Voit
2017-08-05 22:17 ` John Kitchin
2017-08-05 22:33 ` Nicolas Goaziou
2017-08-06 2:28 ` [Orgmode] " Tim Cross
2017-08-06 2:36 ` Adam Porter
2017-08-06 7:54 ` Karl Voit
2017-08-06 13:47 ` John Kitchin
2017-08-05 22:35 ` Nicolas Goaziou
2017-08-06 8:00 ` Karl Voit
2017-08-06 8:15 ` Nicolas Goaziou
2017-08-06 9:01 ` Karl Voit
2017-08-06 9:13 ` Adam Porter
2017-08-06 10:03 ` Karl Voit
2017-08-06 10:28 ` Adam Porter
2017-08-06 9:26 ` Nicolas Goaziou
2017-08-06 10:18 ` Karl Voit [this message]
2017-08-07 11:41 ` Nicolas Goaziou
-- strict thread matches above, loose matches on Subject: below --
2010-02-16 19:58 Matt Lundin
2010-02-21 7:37 ` Carsten Dominik
2010-02-21 12:34 ` Matthew Lundin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2017-08-06T12-13-46@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.