emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)
@ 2022-03-12  8:12 fr_ml
  2022-03-12  9:24 ` Milan Zamazal
  2022-03-12 12:33 ` Ihor Radchenko
  0 siblings, 2 replies; 5+ messages in thread
From: fr_ml @ 2022-03-12  8:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 19078 bytes --]

Hello,

I have just one headline and do a simple property search (prop1="blah1") 
for the 'org-agenda', but this takes about 10 seconds! 
--- FILE: ----
* empty item but with a long logbook
:PROPERTIES:
:prop1: blah1
:END:
:LOGBOOK:
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:40] => 0:02
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 21:07] => 4:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-12 Sat 06:38]--[2022-03-12 Sat 06:38] => 0:00
CLOCK: [2022-03-12 Sat 05:05]--[2022-03-12 Sat 05:24] => 0:19
CLOCK: [2022-03-11 Fri 20:50]--[2022-03-11 Fri 21:20] => 0:30
CLOCK: [2022-03-11 Fri 17:13]--[2022-03-11 Fri 17:25] => 0:12
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
CLOCK: [2022-03-11 Fri 06:10]--[2022-03-11 Fri 06:30] => 0:20
CLOCK: [2022-03-10 Thu 23:14]--[2022-03-11 Fri 00:25] => 1:11
CLOCK: [2022-03-10 Thu 16:45]--[2022-03-10 Thu 17:07] => 0:22
CLOCK: [2022-03-10 Thu 05:19]--[2022-03-10 Thu 06:30] => 1:11
CLOCK: [2022-03-09 Wed 22:29]--[2022-03-09 Wed 22:35] => 0:06
CLOCK: [2022-03-09 Wed 16:45]--[2022-03-09 Wed 17:01] => 0:16
CLOCK: [2022-03-09 Wed 05:20]--[2022-03-09 Wed 06:30] => 1:10
CLOCK: [2022-03-08 Tue 22:15]--[2022-03-08 Tue 22:30] => 0:15
CLOCK: [2022-03-08 Tue 16:10]--[2022-03-08 Tue 16:23] => 0:13
CLOCK: [2022-03-12 Sat 05:25]--[2022-03-12 Sat 06:40] => 1:15
CLOCK: [2022-03-12 Sat 05:10]--[2022-03-12 Sat 05:24] => 0:14
CLOCK: [2022-03-11 Fri 20:45]--[2022-03-11 Fri 21:25] => 0:40
CLOCK: [2022-03-11 Fri 16:00]--[2022-03-11 Fri 16:30] => 0:30
CLOCK: [2022-03-11 Fri 06:05]--[2022-03-11 Fri 06:40] => 0:35
:END:
----- EOF -----
- Without the long LOGBOOK (about 300 lines) the search is as expected 
fast. But this shouldn't be a problem at all. Emacs doesn't need to know 
the LOGBOOK drawer for the search(?).
- A tag search isn't slow.
- I've tested it with the latest org-version (9.5) and emacs-version 
(27.2), and with a clean 'init.el'.
 

Best regards
Frank


[-- Attachment #2: Type: text/html, Size: 38813 bytes --]

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

* Re: [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)
  2022-03-12  8:12 [BUG] LOGBOOK makes property search (in org-agenda) too slow(?) fr_ml
@ 2022-03-12  9:24 ` Milan Zamazal
  2022-03-12 12:33 ` Ihor Radchenko
  1 sibling, 0 replies; 5+ messages in thread
From: Milan Zamazal @ 2022-03-12  9:24 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> "fmd" == fr ml@t-online de <fr_ml@t-online.de> writes:

    fmd> I have just one headline and do a simple property search
    fmd> (prop1="blah1") for the 'org-agenda', but this takes about 10
    fmd> seconds!

Org versions from recent years don’t like large logbooks and don’t like
large files.  For agenda, org-super-agenda & org-ql provide solution,
they are generally much faster, don’t suffer from the logbook problem
and are also much powerful.

For other purposes, it can be more difficult.  For example, I had to
split my single org-drill file into multiple smaller files when editing
and using the file became unusable due to Org slowness in some new Org
version.  The increasing Org slowness is a limiting factor (and perhaps
the only limiting factor) of what can be done with Org.

Regards,
Milan



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

* Re: [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)
  2022-03-12  8:12 [BUG] LOGBOOK makes property search (in org-agenda) too slow(?) fr_ml
  2022-03-12  9:24 ` Milan Zamazal
@ 2022-03-12 12:33 ` Ihor Radchenko
  2022-03-12 23:29   ` Samuel Wales
  1 sibling, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2022-03-12 12:33 UTC (permalink / raw)
  To: fr_ml; +Cc: emacs-orgmode

"fr_ml@t-online.de" <fr_ml@t-online.de> writes:

> I have just one headline and do a simple property search (prop1="blah1") 
> for the 'org-agenda', but this takes about 10 seconds! 

Thanks for providing a reproducible example! We know about this
performance issue. Performance has been improved in the development
version of Org (not released yet). Using your example, agenda generation
is instant on main.

Best,
Ihor


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

* Re: [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)
  2022-03-12 12:33 ` Ihor Radchenko
@ 2022-03-12 23:29   ` Samuel Wales
  2022-03-13 14:07     ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2022-03-12 23:29 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode, fr_ml

are there intereim workarounds like semi-automatically moving large
logbook entries, or entire logbooks, to a task that says "was logbook
for ..." and then archiving that task?  or automatically archiving old
logbook entries?


On 3/12/22, Ihor Radchenko <yantar92@gmail.com> wrote:
> "fr_ml@t-online.de" <fr_ml@t-online.de> writes:
>
>> I have just one headline and do a simple property search (prop1="blah1")
>> for the 'org-agenda', but this takes about 10 seconds!
>
> Thanks for providing a reproducible example! We know about this
> performance issue. Performance has been improved in the development
> version of Org (not released yet). Using your example, agenda generation
> is instant on main.
>
> Best,
> Ihor
>
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


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

* Re: [BUG] LOGBOOK makes property search (in org-agenda) too slow(?)
  2022-03-12 23:29   ` Samuel Wales
@ 2022-03-13 14:07     ` Ihor Radchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2022-03-13 14:07 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode, fr_ml


Samuel Wales <samologist@gmail.com> writes:
> are there intereim workarounds like semi-automatically moving large
> logbook entries, or entire logbooks, to a task that says "was logbook
> for ..." and then archiving that task?  or automatically archiving old
> logbook entries?

My largest logbook contains ~2.5k clock records with no obvious impact
on performance (on main). However, when I was using older Org versions,
I used the following helper functions:

Credit: https://www.reddit.com/r/orgmode/comments/dg43hs/can_i_archive_a_property_drawer/f3frk2n/
Caveat: you might get duplicate IDs using the functions below. I just
changed the archived ID manually in the past.

#+begin_src emacs-lisp
(defun my/org-archive-delete-logbook ()
  (save-excursion
   (org-end-of-meta-data)
   (let ((elm (org-element-at-point)))
     (when (and
            (equal (org-element-type elm) 'drawer)
            (equal (org-element-property :drawer-name elm) "LOGBOOK"))
       (delete-region (org-element-property :begin elm)
                      (org-element-property :end elm))))))

(defun my/org-archive-without-delete ()
  (cl-letf (((symbol-function 'org-cut-subtree) (lambda () nil)))
    (org-archive-subtree)))

(defun my/org-archive-logbook ()
  (interactive)
  (my/org-archive-without-delete)
  (my/org-archive-delete-logbook))
#+end_src

Best,
Ihor


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

end of thread, other threads:[~2022-03-13 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-12  8:12 [BUG] LOGBOOK makes property search (in org-agenda) too slow(?) fr_ml
2022-03-12  9:24 ` Milan Zamazal
2022-03-12 12:33 ` Ihor Radchenko
2022-03-12 23:29   ` Samuel Wales
2022-03-13 14:07     ` Ihor Radchenko

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).