emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: Grant Rettke <gcr@wisdomandwonder.com>
Cc: org mode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <CAOQHXPomDu9vmnR_o2z-+MGd7y7ciBedOfjNToYeLUtHi_arvw@mail.gmail.com> (raw)
In-Reply-To: <CAAjq1meh_aSRJ7_YVyLxg7CS3RHdPB_AUe8Zn-K9c4BV6BCRjQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

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 <gcr@wisdomandwonder.com>
wrote:

> On Sat, Dec 10, 2016 at 2:36 AM, Xebar Saram <zeltakc@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)
>  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.
>

[-- Attachment #2: Type: text/html, Size: 2201 bytes --]

      reply	other threads:[~2016-12-13  7:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-10  8:36 Using an org based init file slows down emacs startup by 50x..help needed :( Xebar Saram
2016-12-10  8:43 ` Nicolas Goaziou
2016-12-10 12:53 ` Xebar Saram
2016-12-10 18:33   ` Xebar Saram
2016-12-10 20:24     ` Thomas S. Dye
2016-12-12 12:24       ` Julian M. Burgos
2016-12-12 10:03     ` Rainer M Krug
2016-12-12 21:30 ` Grant Rettke
2016-12-13  7:19   ` Xebar Saram [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOQHXPomDu9vmnR_o2z-+MGd7y7ciBedOfjNToYeLUtHi_arvw@mail.gmail.com \
    --to=zeltakc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gcr@wisdomandwonder.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).