From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Huge performance problems to open some Org files Date: Fri, 17 Dec 2010 11:44:45 +0100 Message-ID: <801v5gwuea.fsf@missioncriticalit.com> References: <8062uswyie.fsf@missioncriticalit.com> <4D0B374C.60406@diplan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Rainer, Rainer Stengele wrote: > Am 17.12.2010 10:15, schrieb S=C3=A9bastien 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 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-69DE= 564 (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-69DE56= 4 (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 --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode