From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: How to make agenda generation faster Date: Thu, 11 Oct 2018 08:40:38 +0200 Message-ID: <878t35kmu1.fsf@luisa.c0t0d0s0.de> References: <87h8hy1ho5.fsf@mbork.pl> <1587321e-6c92-2731-2d12-514bd9245549@gmx.de> <87pnwh8t8m.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAUeL-0000Gc-Fs for emacs-orgmode@gnu.org; Thu, 11 Oct 2018 02:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAUeI-0007pE-B4 for emacs-orgmode@gnu.org; Thu, 11 Oct 2018 02:40:45 -0400 Received: from mout.gmx.net ([212.227.15.19]:33333) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gAUeI-0007oH-1u for emacs-orgmode@gnu.org; Thu, 11 Oct 2018 02:40:42 -0400 Received: from stella.c0t0d0s0.de ([194.95.66.1]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M2L2a-1fraol2Z5I-00s9eN for ; Thu, 11 Oct 2018 08:40:39 +0200 Received: from stella.c0t0d0s0.de ([194.95.66.1]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M2L2a-1fraol2Z5I-00s9eN for ; Thu, 11 Oct 2018 08:40:39 +0200 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 86B0518120A for ; Thu, 11 Oct 2018 08:40:38 +0200 (CEST) In-Reply-To: <87pnwh8t8m.fsf@mbork.pl> (Marcin Borkowski's message of "Wed, 10 Oct 2018 22:03:05 +0200") 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: emacs-orgmode@gnu.org 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? Regards hmw