emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: e.fraga@ucl.ac.uk
Cc: emacs-orgmode@gnu.org, Rainer Stengele <rainer.stengele@diplan.de>
Subject: Re: org-mode on sloooow computer
Date: Fri, 24 Apr 2009 20:25:53 +0200	[thread overview]
Message-ID: <3F3FAB94-BF93-4BC5-8698-4240A21FA67F@gmail.com> (raw)
In-Reply-To: <18929.57089.531617.730982@pinto.chemeng.ucl.ac.uk>


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 <carsten.dominik@gmail.com>
>  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

  reply	other threads:[~2009-04-24 18:26 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23 16:38 org-mode on sloooow computer Eric S Fraga
2009-04-23 19:15 ` Sven Bretfeld
2009-04-23 20:30   ` Carsten Dominik
2009-04-24  9:22     ` Eric S Fraga
2009-04-24  9:42       ` Carsten Dominik
2009-04-24  9:51         ` Eric S Fraga, Eric S Fraga
2009-04-24 10:25         ` Eric S Fraga
2009-04-24 11:35           ` Carsten Dominik
2009-04-24 12:51             ` Matthew Lundin
2009-04-24 15:27             ` Leo
2009-04-24 15:57               ` Nick Dokos
2009-04-24 16:22                 ` Leo
2009-04-25  4:06     ` Samuel Wales
2009-04-23 20:26 ` Carsten Dominik
2009-04-23 22:10   ` Eric S Fraga, Eric S Fraga
2009-04-24  5:03     ` Carsten Dominik
2009-04-24  8:24       ` Eric S Fraga, Eric S Fraga
2009-04-24  9:01         ` Carsten Dominik
2009-04-24 13:37           ` Rainer Stengele
2009-04-24 13:49             ` Carsten Dominik
2009-04-24 15:47               ` Eric S Fraga, Eric S Fraga
2009-04-24 18:25                 ` Carsten Dominik [this message]
2009-04-24 22:26                   ` Eric S Fraga, Eric S Fraga
2009-04-25  3:51                     ` Carsten Dominik
2009-04-25  8:19                       ` Eric S Fraga, Eric S Fraga
2009-04-25 16:25                         ` Bernt Hansen
2009-04-30 14:13                           ` Carsten Dominik
2009-04-24 14:47             ` Carsten Dominik
2009-04-28 10:33               ` Rainer Stengele
2009-04-30 14:14                 ` Carsten Dominik
2009-08-31 17:49                   ` Daniel Martins
2009-08-31 18:02                     ` Leo
2009-08-31 18:12                       ` Daniel Martins
2009-08-31 18:41                         ` Matt Lundin
2009-08-31 21:03                           ` Daniel Martins
2009-08-31 21:11                             ` Leo
2009-08-31 21:25                               ` Daniel Martins
2009-09-01  4:20                                 ` Carsten Dominik
2009-09-01 13:15                                   ` Daniel Martins
2009-09-02  7:15                                     ` Carsten Dominik
2009-08-31 18:14                     ` Matt Lundin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F3FAB94-BF93-4BC5-8698-4240A21FA67F@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@diplan.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).