From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-mode on sloooow computer Date: Fri, 24 Apr 2009 20:25:53 +0200 Message-ID: <3F3FAB94-BF93-4BC5-8698-4240A21FA67F@gmail.com> References: <87hc0fe35v.fsf@eeepc.chemeng.ucl.ac.uk> <5A8DAF72-27D1-4BC5-B70C-884E2F98620B@gmail.com> <18928.59232.992700.573573@pinto.chemeng.ucl.ac.uk> <18929.30496.879823.967736@pinto.chemeng.ucl.ac.uk> <49F1C0AD.7090309@diplan.de> <18929.57089.531617.730982@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxQ67-0003Gk-24 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 14:26:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxQ62-0003EN-83 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 14:26:02 -0400 Received: from [199.232.76.173] (port=57335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxQ61-0003EG-Uh for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 14:25:57 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:34392) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxQ61-0006v3-Bx for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 14:25:57 -0400 Received: by ewy6 with SMTP id 6so1148533ewy.42 for ; Fri, 24 Apr 2009 11:25:55 -0700 (PDT) In-Reply-To: <18929.57089.531617.730982@pinto.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: e.fraga@ucl.ac.uk Cc: emacs-orgmode@gnu.org, Rainer Stengele On Apr 24, 2009, at 5:47 PM, Eric S Fraga wrote: > Carsten Dominik writes: >> On Apr 24, 2009, at 3:37 PM, Rainer Stengele wrote: >> >>> Hi Carsten, >>> >>> strange enough the latest git version does not improve time for my >>> agenda at all. >>> It still is as slow or fast - however you see it. >> >> I think you have tag inheritance turned off, or you have everything >> in >> top-level entries. >> >> From todays adjustments, the people who will benefit the most are >> those who have a very large number of siblings on arbitrary levels, >> and who, at the same time, use tag inheritance. > > Carsten, > > I definitely fall into the tag inheritance with large number of > siblings on arbitrary levels category! FYI, here is another data > point for analysis. I've downloaded the latest git version: > > commit 4b6f0cf77b941bdaf7d784215d1977f7ea58f550 > Author: Carsten Dominik > Date: Fri Apr 24 16:45:01 2009 +0200 > > Optimization: Make org-end-of-subtree much faster > > and these are the first few lines of the profiling information (I can > send all output if you wish) which show another further significant > improvement! This is fantastic. Hi Eric, if you want to hunt for more improvements, looking at this table, much can be gained by turning off the clocktable in the agenda and only turning it on interactively with "R" when you really need it. Hmmm, `org-up-heading-all' still gets called, this should no longer happen. I wonder why, when. If you want to help: 1. reload uncompiled-code: C-u C-c C-x r 2. Arm the function M-x debug-on-entry RET org-up-heading-all RET 3. TUrn on debugging on error (needed, but hard to explain here) You can best do this from the "Options" menu, "Enter Debugger on Error" 4. Produce your agenda. You will get a backtrace buffer, which I would like to see... Thanks. - Carsten > > org-agenda 1 1.354913 > 1.354913 > org-agenda-list 1 1.082066 > 1.082066 > org-dblock-write:clocktable 7 0.541785 > 0.0773978571 > org-agenda-get-day-entries 6 0.430589 > 0.0717648333 > org-get-clocktable 1 0.384531 > 0.384531 > org-update-dblock 1 0.349331 > 0.349331 > org-prepare-agenda-buffers 2 0.340886 > 0.170443 > org-agenda-get-scheduled 6 0.289391 > 0.0482318333 > org-agenda-get-restriction-and-command 1 0.272534 > 0.272534 > org-get-tags-at 8 0.2238899999 > 0.0279862499 > org-up-heading-all 21 0.2201879999 > 0.0104851428 > ... > > Thanks again, > eric