From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to make agenda generation faster Date: Wed, 10 Oct 2018 22:03:05 +0200 Message-ID: <87pnwh8t8m.fsf@mbork.pl> References: <87h8hy1ho5.fsf@mbork.pl> <1587321e-6c92-2731-2d12-514bd9245549@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAKih-0006eS-CV for emacs-orgmode@gnu.org; Wed, 10 Oct 2018 16:04:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAKic-0007kp-1O for emacs-orgmode@gnu.org; Wed, 10 Oct 2018 16:04:33 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:35758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAKia-0007k9-Ty for emacs-orgmode@gnu.org; Wed, 10 Oct 2018 16:04:29 -0400 In-reply-to: <1587321e-6c92-2731-2d12-514bd9245549@gmx.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: Julius Dittmar Cc: emacs-orgmode@gnu.org 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. Best, -- Marcin Borkowski http://mbork.pl