From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: Using an org based init file slows down emacs startup by 50x..help needed :( Date: Tue, 13 Dec 2016 09:19:00 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114e53dad9dc110543850827 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGhO1-0001Hw-SX for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 02:20:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGhNx-0004Pl-ET for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 02:20:29 -0500 Received: from mail-yw0-f194.google.com ([209.85.161.194]:32854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGhNx-0004Fu-8x for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 02:20:25 -0500 Received: by mail-yw0-f194.google.com with SMTP id s68so9439323ywg.0 for ; Mon, 12 Dec 2016 23:20:02 -0800 (PST) In-Reply-To: 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" To: Grant Rettke Cc: org mode --001a114e53dad9dc110543850827 Content-Type: text/plain; charset=UTF-8 thx all Grant, thats interesting since i did start with the bisecting method and couldnt identify the culprit. again using the method here https://bitbucket.org/holgerschurig/emacsconf/src/416b2bba2d1d334b9c6ddbd56f8c7f8bd8bc4aab?at=master works SUPER fast (~10 seconds) so for now ill stick with it until i find the culprit very strange though best Z On Mon, Dec 12, 2016 at 11:30 PM, Grant Rettke wrote: > On Sat, Dec 10, 2016 at 2:36 AM, Xebar Saram wrote: > > So after a few months of frustration today i discovered the issue that's > > been bothering me for a long time..the REALLY slow emacs startup > > I tangled it on my box like this: > > Start Emacs default > > emacs --no-init-file > > (emacs-version) > > "GNU Emacs 24.5.1 (x86_64-apple-darwin15.4.0, NS apple-appkit-1404.46) > of 2016-06-08 on vela" > > (org-version) > > "8.2.10" > > In Emacs I evaluated > > (defmacro measure-time (&rest body) > "Measure the time it takes to evaluate BODY." > `(let ((time (current-time))) > ,@body > (message "%.06f" (float-time (time-since time))))) > > And timed and tangled it. > > It took approximately 8 minutes. > > When I tangle it using my config it takes approximately 11 seconds. > > I would start with a bisection of the file to try and narrow down when > and where the slowdown occurs. > --001a114e53dad9dc110543850827 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thx all

Grant, thats interesting since = i did start with the bisecting method and couldnt identify the culprit.

again using the method here


works SUPER fast (~10 seconds) so for now ill sti= ck with it until i find the culprit

very strange t= hough

best

Z
<= div class=3D"gmail_extra">
On Mon, Dec 12, 20= 16 at 11:30 PM, Grant Rettke <gcr@wisdomandwonder.com>= wrote:
On Sat, Dec 10, = 2016 at 2:36 AM, Xebar Saram <zelta= kc@gmail.com> wrote:
> So after a few months of frustration today i discovered the issue that= 's
> been bothering me for a long time..the REALLY slow emacs startup

I tangled it on my box like this:

Start Emacs default

emacs --no-init-file

(emacs-version)

"GNU Emacs 24.5.1 (x86_64-apple-darwin15.4.0, NS apple-appkit-1404.46)=
=C2=A0of 2016-06-08 on vela"

(org-version)

"8.2.10"

In Emacs I evaluated

(defmacro measure-time (&rest body)
=C2=A0 "Measure the time it takes to evaluate BODY."
=C2=A0 `(let ((time (current-time)))
=C2=A0 =C2=A0 =C2=A0,@body
=C2=A0 =C2=A0 =C2=A0(message "%.06f" (float-time (time-since time= )))))

And timed and tangled it.

It took approximately 8 minutes.

When I tangle it using my config it takes approximately 11 seconds.

I would start with a bisection of the file to try and narrow down when
and where the slowdown occurs.

--001a114e53dad9dc110543850827--