Re: [Orgmode] Speeding up agenda display

2010-01-03 Thread Carsten Dominik
On Jan 3, 2010, at 4:40 AM, Andrew J. Korty wrote: On Jan 2, 2010, at 14:37 , Carsten Dominik wrote: I have been thinking about caching often but always stopped implementing it because, being a plain text system, there is always the possibility that thinks are being changed behind the back of

Re: [Orgmode] Speeding up agenda display

2010-01-02 Thread Andrew J. Korty
On Jan 2, 2010, at 14:37 , Carsten Dominik wrote: > I have been thinking about caching often > but always stopped implementing it because, being a plain text > system, there is always the possibility that thinks are being > changed behind the back of the cache. How are you handling > updating the

Re: [Orgmode] Speeding up agenda display

2010-01-02 Thread Carsten Dominik
On Jan 2, 2010, at 3:38 PM, Andrew J. Korty wrote: On Jan 2, 2010, at 02:50 , Carsten Dominik wrote: You can shave off another .5 seconds by pressing the selection key faster - Org spends 0.46 seconds to wait for your keypress :-) Good point. :-) I optimized things a bit more by caching sk

Re: [Orgmode] Speeding up agenda display

2010-01-02 Thread Andrew J. Korty
On Jan 2, 2010, at 02:50 , Carsten Dominik wrote: > You can shave off another .5 seconds by pressing the selection key > faster - Org spends 0.46 seconds to wait for your keypress :-) Good point. :-) I optimized things a bit more by caching skip positions and schedule, deadline, and tag data fo

Re: [Orgmode] Speeding up agenda display

2010-01-01 Thread Carsten Dominik
On Dec 31, 2009, at 6:46 PM, Andrew J. Korty wrote: Shaved off half a second. So that's something! You can shave off another .5 seconds by pressing the selection key faster - Org spends 0.46 seconds to wait for your keypress :-) - Carsten ajk org-agenda

Re: [Orgmode] Speeding up agenda display

2009-12-31 Thread Andrew J. Korty
Shaved off half a second. So that's something! ajk org-agenda1 1.534166 1.534166 org-let 1 1.070332 1.070332 org-agenda-list

Re: [Orgmode] Speeding up agenda display

2009-12-30 Thread Carsten Dominik
Hi Andrew, thanks! The only thing I see now is this: 1. Get the latest development version. A week or two ago I made an optimization that should speed up (org-entry-get nil "DEADLINE") quite a bit. Let's see if that does help enough. - Carsten On Dec 30, 2009, at 8:40 PM, Andrew J

Re: [Orgmode] Speeding up agenda display

2009-12-30 Thread Andrew J. Korty
On Dec 30, 2009, at 14:20 , Carsten Dominik wrote: > could you please also instrument your ajk/ functions for profiling and > repeat the experiment? And show the code of all these functions, not > only some (I am missing for example `ajk/org-agenda-skip-if-due- > soon' Yes to both -- see belo

Re: [Orgmode] Speeding up agenda display

2009-12-30 Thread Carsten Dominik
Hi Andrew, could you please also instrument your ajk/ functions for profiling and repeat the experiment? And show the code of all these functions, not only some (I am missing for example `ajk/org-agenda-skip-if-due- soon' Also: - Are you using property inheritance? - Are you relying o

[Orgmode] Speeding up agenda display

2009-12-30 Thread Andrew J. Korty
My agenda views take a couple seconds to build, and I'd like them to be faster. I'm posting a portion of configuration and some profiling results here in case anyone can see any opportunities for optimization. Some background: I don't use the diary at all -- this agenda view exists only to sho