emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Huge performance problems to open some Org files


From: Sébastien Vauban
Subject: [Orgmode] Re: Huge performance problems to open some Org files
Date: Fri, 17 Dec 2010 11:44:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Rainer,

Rainer Stengele wrote:
> Am 17.12.2010 10:15, schrieb Sébastien Vauban:
>> I've real performance problems for opening some Org files. Just some,
>> hopefully. I don't remember having those problems when I was on Ubuntu, and
>> I must already have opened it, back then, but... Anyway, I'm now (forced)
>> on Windows, and I have the problem.
>>
>> For example[fn:1], the small attached file takes me at least 6 s for
>> opening it! I really have no idea why. Why is it different from others,
>> longer, that are opened in a much shorter time?
>>
>> What did I do to try to spot the problem?
>>
>>     M-x elp-instrument-package RET org- RET
>>     M-x find-file <FILE> RET
>>     M-x elp-results.
>>
>> Here they are:
>>
>> org-mode                                                      1           
>> 6.719         6.719
>> [...]
>> org-all-targets                                               1           
>> 0.0           0.0
>> [...]
>> org-babel-result-hide-spec                                    1           
>> 0.0           0.0
>> [...]
>> org-bookmark-jump-unhide                                      1           
>> 0.0           0.0
>> [...]
>> org-agenda-files                                              1           
>> 0.0           0.0
>> [...]
>> org-install-agenda-files-menu                                 1           
>> 0.0           0.0
>>
>> which confirms almost 7 s for just opening that small file into a buffer.
>>
>> Though, I don't see any potential explanation therefore. Could you help me
>> spotting the problem?
>
> loading the file I get
>
> org-mode                                                      2           
> 0.078         0.039
> org-agenda-files                                              2           
> 0.047         0.0235
> org-install-agenda-files-menu                                 2           
> 0.047         0.0235
> org-all-targets                                               2           0.0 
>           0.0
> org-babel-result-hide-spec                                    2           0.0 
>           0.0
> org-end-of-subtree                                            2           0.0 
>           0.0
> org-bookmark-jump-unhide                                      1           0.0 
>           0.0
> org-show-block-all                                            1           0.0 
>           0.0
>
> which is "no time".

Absolutely. Thanks for having taken time to test it, and report it!

What is a bit weird, though, is that the count number is different:

- you have 2 calls of org-mode and 1 of org-bookmark-jump-unhide
- I have 1 call of both...

> I am using
>
> GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-11-04 on LENNART-69DE564 
> (patched)
> Org-mode version 7.4 (release_7.4.57.gab22)
>
> on Windows XP, SP3.
>
> Doesn't help much I know but I do not think it is Windows related.

Good to hear. I'm using

GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on LENNART-69DE564 
(patched)
Org-mode version 7.4 (release_7.4.29.gc61cd)

on Windows XP, Media Center Edition, Version 2002, SP3
on Sony VAIO 2-Core @ 1,83GHz with 2,00 GB RAM.

Very similar to your config (at least, for Emacs/Org)...

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

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