all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]
@ 2022-09-07 17:02 Andrés Ramírez
  2022-09-08  5:59 ` Ihor Radchenko
  0 siblings, 1 reply; 44+ messages in thread
From: Andrés Ramírez @ 2022-09-07 17:02 UTC (permalink / raw)
  To: emacs-orgmode

Hi.

org-agenda-list generation time takes too much time compared with the
same setup with emacs27.

This is org-agenda-list output from 28. (takes aproximately 4m21s)
--8<---------------cut here---------------start------------->8---
10 days-agenda (W35-W37):
Sunday      4 September 2022
  misc:        8:00...... Glorious                                                        :MISCELLANEOUS::
  bd:          9:00-10:00 Carlita                                                               :BIRTHDAY:
  bd:          9:00-10:00 Regina 44,                                                            :BIRTHDAY:
Monday      5 September 2022 W36
  misc:        8:00...... Joyful                                                          :MISCELLANEOUS::
  bd:         12:01...... Artesco 2,                                                            :BIRTHDAY:
  Diary:      Labor Day
Tuesday     6 September 2022
  misc:        8:00...... Sorrowful                                                       :MISCELLANEOUS::
Wednesday   7 September 2022
  misc:        8:00...... Glorious                                                        :MISCELLANEOUS::
               8:00...... ----------------
              10:00...... ----------------
              12:00...... ----------------
              14:00...... ----------------
              16:00...... ----------------
              16:45...... now - - - - - - - - - - - - - - - - - - - - - - - - -
              18:00...... ----------------
              20:00...... ----------------
  refile.agenda:Sched.4167x:  NEXT Weekly Review [0/8] {do not forget to touch type}
Thursday    8 September 2022
  jl-diary.agenda: 7:30...... consagracion a la virgen (16: JL, DA)
  jl-diary.agenda: 7:30...... nest cmary anniversary
  misc:        8:00...... Luminous                                                        :MISCELLANEOUS::
  event:       8:00-8:01  daewoo matiz revision tecnica
  bd:         15:00-16:00 Jean Luc baptism; buy a Cake go to Church Location: Xto Salvador      :BIRTHDAY:
  daaron.cmary.patriot:nidocm  30
Friday      9 September 2022
  misc:        8:00...... Sorrowful                                                       :MISCELLANEOUS::
  jl.santi:   vale chipoco  16|loma umbrosa Mz E Lt 20|7247764|jose_antonio,cecilia|ceciespinoza at g :JEANLUC:
Saturday   10 September 2022
  family.yengle: 5:00...... running time                                                         :FAMILY::
  misc:        8:00...... Joyful                                                          :MISCELLANEOUS::
Sunday     11 September 2022
  misc:        8:00...... Glorious                                                        :MISCELLANEOUS::
Monday     12 September 2022 W37
  misc:        8:00...... Joyful                                                          :MISCELLANEOUS::
  refile.agenda:Scheduled:  NEXT Weekly Review [0/8] {do not forget to touch type}
  bbdb:       [[bbdb:erlinda massco][erlinda massco's 49th custom anniversary]]
Tuesday    13 September 2022
  misc:        8:00...... Sorrowful                                                       :MISCELLANEOUS::
  bd:         10:00-11:00 tio Felipe   Location: Tumbes                                         :BIRTHDAY:
  pass.out:   Manuela grand mother
--8<---------------cut here---------------end--------------->8---

This is org-agenda-list output from 27. (takes 15s)
--8<---------------cut here---------------start------------->8---
10 days-agenda (W35-W37):
Sunday      4 September 2022
  misc:        8:00...... Glorious                                                        :MISCELLANEOUS::
  bd:          9:00-10:00 Carlita                                                               :BIRTHDAY:
  bd:          9:00-10:00 Regina 44,                                                            :BIRTHDAY:
Monday      5 September 2022 W36
  misc:        8:00...... Joyful                                                          :MISCELLANEOUS::
  bd:         12:01...... Artesco 2,                                                            :BIRTHDAY:
  Diary:      Labor Day
Tuesday     6 September 2022
  misc:        8:00...... Sorrowful                                                       :MISCELLANEOUS::
Wednesday   7 September 2022
  misc:        8:00...... Glorious                                                        :MISCELLANEOUS::
               8:00...... ----------------
              10:00...... ----------------
              12:00...... ----------------
              14:00...... ----------------
              16:00...... ----------------
              16:53...... now - - - - - - - - - - - - - - - - - - - - - - - - -
              18:00...... ----------------
              20:00...... ----------------
  refile.agenda:Sched.4167x:  NEXT Weekly Review [0/8] {do not forget to touch type}
Thursday    8 September 2022
  jl-diary.agenda: 7:30...... consagracion a la virgen (16: JL, DA)
  jl-diary.agenda: 7:30...... nest cmary anniversary
  misc:        8:00...... Luminous                                                        :MISCELLANEOUS::
  event:       8:00- 8:01 daewoo matiz revision tecnica
  bd:         15:00-16:00 Jean Luc baptism; buy a Cake go to Church Location: Xto Salvador      :BIRTHDAY:
  daaron.cmary.patriot:nidocm  30
Friday      9 September 2022
  misc:        8:00...... Sorrowful                                                       :MISCELLANEOUS::
  jl.santi:   vale chipoco  16|loma umbrosa Mz E Lt 20|7247764|jose_antonio,cecilia|ceciespinoza at g :JEANLUC:
Saturday   10 September 2022
  family.yengle: 5:00...... running time                                                         :FAMILY::
  misc:        8:00...... Joyful                                                          :MISCELLANEOUS::
Sunday     11 September 2022
  misc:        8:00...... Glorious                                                        :MISCELLANEOUS::
Monday     12 September 2022 W37
  misc:        8:00...... Joyful                                                          :MISCELLANEOUS::
  refile.agenda:Scheduled:  NEXT Weekly Review [0/8] {do not forget to touch type}
  bbdb:       custom
Tuesday    13 September 2022
  misc:        8:00...... Sorrowful                                                       :MISCELLANEOUS::
  bd:         10:00-11:00 tio Felipe   Location: Tumbes                                         :BIRTHDAY:
  pass.out:   Manuela grand mother
--8<---------------cut here---------------end--------------->8---

The only visual difference I see is:
--8<---------------cut here---------------start------------->8---
-  bbdb:       custom
+  bbdb:       [[bbdb:erlinda massco][erlinda massco's 49th custom anniversary]]
--8<---------------cut here---------------end--------------->8---

Let me know If there is something else I could test.

Best Regards

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------



Emacs  : GNU Emacs 28.1 (build 1, armv7l-unknown-linux-gnueabihf)
 of 2022-05-27
Package: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)

current state:
==============
(setq
 org-agenda-start-on-weekday nil
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-agenda-span 10
 org-agenda-include-diary t
 org-startup-folded nil
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-bbdb-anniversary-format-alist '(("custom" lambda (name years suffix)
                                      (concat "[[bbdb:" name "][" name "'s " (format "%s" years) suffix
                                       " custom anniversary]]")
                                      )
                                     ("birthday" lambda (name years suffix)
                                      (concat "Birthday: [[bbdb:" name "][" name " ("
                                       (format "%s" years) suffix ")]]")
                                      )
                                     ("wedding" lambda (name years suffix)
                                      (concat "[[bbdb:" name "][" name "'s " (format "%s" years) suffix
                                       " wedding anniversary]]")
                                      )
                                     )
 org-agenda-loop-over-headlines-in-active-region nil
 org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link)
                       ("id" :follow org-id-open)
                       ("eww" :follow org-eww-open :store org-eww-store-link)
                       ("rmail" :follow org-rmail-open :store org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export)
                       ("info" :follow org-info-open :export org-info-export :store org-info-store-link)
                       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
                       ("docview" :follow org-docview-open :export org-docview-export :store
                        org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete
                        org-bbdb-complete-link :store org-bbdb-store-link)
                       ("w3m" :store org-w3m-store-link)
                       ("doi" :follow org-link-doi-open :export org-link-doi-export)
                       ("wl" :follow org-wl-open :export nil)
                       ("elfeed" :follow elfeed-link-open :store elfeed-link-store-link) ("file+sys")
                       ("file+emacs") ("shell" :follow org-link--open-shell)
                       ("news" :follow
                        #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("mailto" :follow
                        #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("https" :follow
                        #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("http" :follow
                        #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("ftp" :follow
                        #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("help" :follow org-link--open-help :store org-link--store-help)
                       ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp))
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-files '("/home/olla/docs/org/deft/bbdb-anniversary-trick.agenda.org"
                    "/home/olla/docs/org/deft/diary.agenda.org"
                    "/home/olla/docs/org/deft/etl.agenda.org"
                    "/home/olla/docs/org/deft/jl-diary.agenda.org"
                    "/home/olla/docs/org/deft/kipuamutay.agenda.org"
                    "/home/olla/docs/org/deft/overlay.fu.agenda.org"
                    "/home/olla/docs/org/deft/overlay.jl.agenda.org"
                    "/home/olla/docs/org/deft/refile.agenda.org"
                    "/home/olla/docs/org/deft/todo.agenda.org")
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-link-shell-confirm-function 'yes-or-no-p
 org-mode-hook '(#[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-show-all append local] 5]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes
                 #[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2])
 org-babel-pre-tangle-hook '(save-buffer)
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-link-elisp-confirm-function nil
 )


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2022-09-27  3:21 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-07 17:02 [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)] Andrés Ramírez
2022-09-08  5:59 ` Ihor Radchenko
2022-09-12 17:55   ` andrés ramírez
2022-09-13  1:56     ` Ihor Radchenko
2022-09-13  2:53       ` andrés ramírez
2022-09-13  3:03         ` Ihor Radchenko
2022-09-13  4:00           ` andrés ramírez
2022-09-13  4:45             ` Ihor Radchenko
2022-09-13 23:29               ` andrés ramírez
2022-09-14  2:15                 ` Ihor Radchenko
2022-09-14 16:30                   ` andrés ramírez
2022-09-16  4:35                     ` Ihor Radchenko
2022-09-16 11:31                       ` andrés ramírez
2022-09-20 11:30                         ` Ihor Radchenko
2022-09-20 13:28                           ` andrés ramírez
2022-09-20 13:51                             ` Ihor Radchenko
2022-09-20 14:51                               ` andrés ramírez
2022-09-21  4:47                                 ` Ihor Radchenko
2022-09-22  1:59                                   ` andrés ramírez
2022-09-22  3:32                                     ` Ihor Radchenko
2022-09-22  4:27                                       ` andrés ramírez
2022-09-22  4:44                                         ` Ihor Radchenko
2022-09-22  5:00                                           ` andrés ramírez
2022-09-22  5:04                                             ` Ihor Radchenko
2022-09-22 13:23                                               ` andrés ramírez
2022-09-23  3:05                                                 ` Ihor Radchenko
2022-09-23  3:19                                                   ` andrés ramírez
2022-09-23  3:35                                                     ` Ihor Radchenko
2022-09-23  3:57                                                       ` andrés ramírez
2022-09-23  5:11                                                         ` Ihor Radchenko
2022-09-23 14:55                                                           ` andrés ramírez
2022-09-23 15:36                                                             ` Ihor Radchenko
2022-09-23 16:14                                                               ` andrés ramírez
2022-09-23 17:08                                                                 ` Fraga, Eric
2022-09-23 17:23                                                                   ` andrés ramírez
2022-09-24  3:20                                                                     ` Ihor Radchenko
2022-09-24  4:10                                                                       ` on picking diary-style timestamps or normal timestamps when adding agenda entries (was: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]) andrés ramírez
2022-09-24  4:34                                                                         ` Ihor Radchenko
2022-09-26 16:37                                                                           ` andrés ramírez
2022-09-27  2:38                                                                             ` Ihor Radchenko
2022-09-27  2:59                                                                               ` on picking diary-style timestamps or normal timestamps when adding agenda entries andrés ramírez
2022-09-27  3:21                                                                                 ` Ihor Radchenko
2022-09-23 16:33                                                   ` [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)] Max Nikulin
2022-09-24  3:28                                                     ` Ihor Radchenko

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.