From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Opening an Org file slowed down Date: Wed, 27 Nov 2013 23:06:38 +0100 Message-ID: <87ppplwlch.fsf@Rainer.invalid> References: <87r4a7tmo2.fsf@gmail.com> <877gbv8437.fsf@gmail.com> <87k3fv6i3e.fsf@gmail.com> <87fvqi7qmg.fsf@gmail.com> <874n6ydr02.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlnG6-0004TS-FK for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 17:07:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlnG1-0005hu-N1 for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 17:06:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:51071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlnG1-0005hS-Fl for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 17:06:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VlnFz-0003BA-2L for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 23:06:51 +0100 Received: from pd9eb29e1.dip0.t-ipconnect.de ([217.235.41.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 23:06:51 +0100 Received: from Stromeko by pd9eb29e1.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 23:06:51 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Michael Brand writes: > It shows a difference, see attachements. It looks like but it was not > me loosing some first lines when doing this, I cross-checked :-). I've had a brief look at this. It seems that some of the differences are due to elp instrumenting a much larger range of functions when org-mode has already initialized vs. when only org-version had been called. Another difference is that when org-mode gets initialized before, org-startup-folded is true, which introduces another slight difference. lisp/org-mode> time emacs --batch -Q -L lisp -l testing/org-batch-test-init.el -l org-loaddefs 400.org 3.748u 0.096s 0:04.22 90.7% lisp/org-mode> time emacs --batch -Q -L lisp -l testing/org-batch-test-init.el -l org-loaddefs 800.org 13.880u 0.068s 0:14.47 96.3% lisp/org-mode> time emacs --batch -Q -L lisp -l testing/org-batch-test-init.el -l org-loaddefs -f org-version 400.org 3.764u 0.072s 0:04.08 93.8% lisp/org-mode> time emacs --batch -Q -L lisp -l testing/org-batch-test-init.el -l org-loaddefs -f org-version 800.org 13.956u 0.072s 0:14.51 96.6% lisp/org-mode> time emacs --batch -Q -L lisp -l testing/org-batch-test-init.el -l org-loaddefs -f org-mode 400.org OVERVIEW 3.736u 0.092s 0:04.16 91.8% lisp/org-mode> time emacs --batch -Q -L lisp -l testing/org-batch-test-init.el -l org-loaddefs -f org-mode 800.org OVERVIEW 13.872u 0.056s 0:14.51 95.9% Once that is out of the equation, there isn't any difference to speak of. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada