From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to make agenda generation faster Date: Sun, 14 Oct 2018 09:42:21 +0200 Message-ID: <87tvlp9dpe.fsf@mbork.pl> References: <87h8hy1ho5.fsf@mbork.pl> <1587321e-6c92-2731-2d12-514bd9245549@gmx.de> <87pnwh8t8m.fsf@mbork.pl> <878t35kmu1.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBb46-0004l0-6R for emacs-orgmode@gnu.org; Sun, 14 Oct 2018 03:43:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBb41-00034G-5H for emacs-orgmode@gnu.org; Sun, 14 Oct 2018 03:43:54 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:33184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBb40-00033R-Tz for emacs-orgmode@gnu.org; Sun, 14 Oct 2018 03:43:49 -0400 In-reply-to: <878t35kmu1.fsf@luisa.c0t0d0s0.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Michael Welle Cc: emacs-orgmode@gnu.org On 2018-10-11, at 08:40, Michael Welle wrote: > Hello, > > Marcin Borkowski writes: > >> On 2018-10-09, at 13:47, Julius Dittmar wrote: >> >>> Hi Marcin, >>> >>> I can't advise as to profiling to find out what really bogs down agenda >>> building. >>> >>> I found that log messages do bog it down. >>> >>> I have a lot of recurring tasks, which accumulate log entries for every >>> closing (which in fact means rescheduling to the next day). Every two to >>> three months I prune my org files of those log entries. This >>> significantly speeds up agenda building. >> >> By experiments, I found that the main bottleneck was a file with lots (= >> a few thousand) headlines. > ah, interesting. My org files usually aren't that deeply structured, so > I don't get hit by that. Hm, I guess regexps are used to find headlines? Mine were very flat - I had *lots* of captured links to websites. Best, -- Marcin Borkowski http://mbork.pl