[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: org-mode on sloooow computer

From: Carsten Dominik
Subject: [Orgmode] Re: org-mode on sloooow computer
Date: Fri, 24 Apr 2009 20:25:53 +0200

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.


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 <address@hidden>
 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...


- 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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]