emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Performance problem when switching agenda views - need for cache?


From: Rainer Stengele
Subject: [O] Performance problem when switching agenda views - need for cache?
Date: Fri, 15 Jul 2011 16:49:11 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.17) Gecko/20080914 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

Dear all,

let me show some times I clocked using my precious org system.

Many a times I look at my weekly agenda view, working on the items of today and 
looking back over the weekdays to
quickly find todos I have to to add further notes and clock times.

Now, sometimes I do not find the right todo in the weekly view, so I activate 
the list of all open todos
in order to find the appropriate one.

This process, switching to "all todos" and back to "weekly agenda" takes about 
18 (!) seconds netto.
This is a lot! It psychologically prevents me to use the org system as I should 
and would like to.
I already tried to fix my weekly agenda view in a separate frame and call the 
"all todo" agenda in another frame,
just to go back to the first frame and continue to work there.
This does not seem to work (agenda is updated everywhere). If it would work it 
would just be something like a cache mode.

How about you orgers out there? Do you have long waiting times and therefore 
usability downsides?

org-agenda                                                    2           
17.624        8.812
org-agenda-get-day-entries                                    64          
13.610000000  0.2126562500
org-agenda-run-series                                         1           
11.812        11.812
org-agenda-list                                               1           
10.921        10.921
org-let2                                                      1           
10.921        10.921
org-agenda-get-scheduled                                      56          7.284 
        0.1300714285
org-todo-list                                                 1           5.281 
        5.281
org-agenda-get-todos                                          8           3.594 
        0.44925
org-end-of-subtree                                            3058        
3.2890000000  0.0010755395
org-get-tags-at                                               347         
3.0560000000  0.0088069164
org-back-to-heading                                           10515       
2.8640000000  0.0002723728
org-up-heading-safe                                           1607        
2.8070000000  0.0017467330
org-get-todo-state                                            5085        2.227 
        0.0004379547
org-prepare-agenda                                            3           1.704 
        0.568
org-prepare-agenda-buffers                                    2           
1.5790000000  0.7895000000
org-agenda-get-progress                                       56          1.106 
        0.01975
org-format-agenda-item                                        350         
1.0160000000  0.0029028571
org-let                                                       2           0.891 
        0.4455
org-agenda-skip                                               7744        
0.7310000000  9.43...e-005
org-agenda-get-deadlines                                      56          
0.6869999999  0.0122678571
org-finalize-agenda-entries                                   6           0.686 
        0.1143333333
org-agenda-get-restriction-and-command                        1           0.531 
        0.531
org-refresh-category-properties                               16          
0.4710000000  0.0294375000
org-agenda-highlight-todo                                     350         0.437 
        0.0012485714
org-agenda-get-timestamps                                     56          
0.4079999999  0.0072857142
org-outline-level                                             5925        
0.3130000000  5.28...e-005
org-finalize-agenda                                           3           
0.3120000000  0.1040000000
org-time-string-to-absolute                                   4780        
0.2640000000  5.52...e-005
org-get-effort                                                348         
0.2360000000  0.0006781609
org-entry-get                                                 348         
0.2360000000  0.0006781609
org-agenda-get-sexps                                          56          
0.2210000000  0.0039464285
org-get-priority                                              288         
0.2030000000  0.0007048611
org-check-agenda-file                                         80          
0.2020000000  0.0025250000
org-agenda-get-blocks                                         56          0.202 
        0.0036071428
org-fontify-priorities                                        2           0.187 
        0.0935
org-downcase-keep-props                                       379         
0.1710000000  0.0004511873
org-get-entries-from-diary                                    7           
0.1570000000  0.0224285714
org-on-heading-p                                              540         
0.1570000000  0.0002907407
org-get-property-block                                        348         
0.1570000000  0.0004511494
org-agenda-skip-eval                                          10608       0.157 
        1.48...e-005
org-agenda-files                                              6           0.125 
        0.0208333333
org-agenda-align-tags                                         2           0.109 
        0.0545
org-at-date-range-p                                           279         
0.0930000000  0.0003333333
org-before-first-heading-p                                    348         0.079 
        0.0002270114
org-parse-time-string                                         5088        0.078 
        1.53...e-005
org-agenda-mode                                               2           0.048 
        0.024
org-entries-lessp                                             1639        0.03  
        1.83...e-005
org-add-props                                                 1419        0.03  
        2.11...e-005
org-agenda-fix-displayed-tags                                 350         0.016 
        4.57...e-005
org-agenda-fontify-priorities                                 2           0.016 
        0.008
org-diary-sexp-entry                                          7           0.016 
        0.0022857142
org-find-base-buffer-visiting                                 80          0.015 
        0.0001875
org-get-agenda-file-buffer                                    80          0.015 
        0.0001875
org-closest-date                                              321         0.015 
        4.67...e-005
org-agenda-set-mode-name                                      2           0.0   
        0.0
org-date-to-gregorian                                         642         0.0   
        0.0
org-remove-uninherited-tags                                   603         0.0   
        0.0


Best,
- Rainer


my settings:

GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) from trunk 2011-02-16 on 
LENNART-69DE564 (patched)
Org-mode version 7.6 (release_7.6.88.gd1c9)


by the way:

it takes me

org-version                                                   1           5.438 
        5.438
org-agenda-span-name                                          5           0.0   
        0.0

to get to see the org version I use!!! Can't explain why. My PC is a Windows XP 
SP3, P5 3GHZ, 3GB RAM. Runs perfectly.




reply via email to

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