emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Opening an Org file slowed down


From: Nicolas Goaziou
Subject: Re: [O] Opening an Org file slowed down
Date: Tue, 26 Nov 2013 23:19:35 +0100

Hello,

Michael Brand <address@hidden> writes:

> What I don't understand is the still quadratic increase but if you
> expect that for opening then it is ok for me.

No, it should be linear. See below.

> Uncompiled release_8.2.3c-302-g15246d on a not new machine:
>
> Open 400er:
> org-mode                    1       6.877958      6.877958
> org-set-startup-visibility  1       6.829008      6.829008
> org-cycle-hide-drawers      2       6.813782      3.406891
> org-element-at-point        400     6.784125      0.0169603125
> org-element-cache-get       82199   1.2511399999  1.522...e-05
> org-element-type            162000  0.6106539999  3.769...e-06
>
> Open 800er:
> org-mode                    1       29.970716     29.970716
> org-set-startup-visibility  1       29.862721     29.862721
> org-cycle-hide-drawers      2       29.85923      14.929615
> org-element-at-point        800     29.639263000  0.0370490787
> org-element-cache-get       324399  4.5316569999  1.396...e-05
> org-element-type            644000  1.7653179999  2.741...e-06

For 800 I get (compiled)

  org-mode                   1           0.990066643   0.990066643
  org-set-startup-visibility 1           0.984746413   0.984746413
  org-cycle-hide-drawers     2           0.980225726   0.490112863
  org-element-at-point       800         0.7476192910  0.000934524

So, it is a linear increase here. Have you disabled cache?


Regards,

-- 
Nicolas Goaziou



reply via email to

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