From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Performance problem when switching agenda views - need for cache? Date: Sat, 16 Jul 2011 13:21:50 +0200 Message-ID: <87wrfifmxu.fsf@altern.org> References: <5990.1310760651@alphaville.americas.hpqcorp.net> <4E20BD7B.2050209@online.de> <8401.1310771741@alphaville.americas.hpqcorp.net> <4E20D504.2040105@online.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi3ej-0002VR-RQ for emacs-orgmode@gnu.org; Sat, 16 Jul 2011 08:07:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qi3ef-0005Xs-FK for emacs-orgmode@gnu.org; Sat, 16 Jul 2011 08:07:37 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:34405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi3ee-0005W2-U6 for emacs-orgmode@gnu.org; Sat, 16 Jul 2011 08:07:33 -0400 Received: by mail-fx0-f52.google.com with SMTP id 18so3424441fxd.39 for ; Sat, 16 Jul 2011 05:07:32 -0700 (PDT) In-Reply-To: <4E20D504.2040105@online.de> (Rainer Stengele's message of "Sat, 16 Jul 2011 02:02:12 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: Rainer Stengele , nicholas.dokos@hp.com, emacs-orgmode@gnu.org Hi Rainer, Rainer Stengele writes: > so yes - the main part of the time is taken by the big org file. Still > 5 seconds is not a keypress ... And of course I will need a certain > part of the excluded file. So going into any kind of caching might > speed up things quite a bit. Yes. Sorry to read about such performance problems (again). One thing I've used to speed up my own setup is to reduce the scope of `org-agenda-get-day-entries' by restricting agenda view with (org-agenda-entry-types '(:scheduled)) where it makes sense. Otherwise `org-agenda-get-day-entries' can loop over too many possibilities. Keep us informed of any further analysis, progress. Thanks! -- Bastien