From: Grant Rettke <gcr@wisdomandwonder.com>
To: Xebar Saram <zeltakc@gmail.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: Mon, 12 Dec 2016 15:30:21 -0600 [thread overview]
Message-ID: <CAAjq1meh_aSRJ7_YVyLxg7CS3RHdPB_AUe8Zn-K9c4BV6BCRjQ@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPrb6itymsTwg64Q-1v2Z24-QDwRoM0a4nSP_P83te5bAQ@mail.gmail.com>
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.
next prev parent reply other threads:[~2016-12-12 21:31 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 [this message]
2016-12-13 7:19 ` Xebar Saram
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=CAAjq1meh_aSRJ7_YVyLxg7CS3RHdPB_AUe8Zn-K9c4BV6BCRjQ@mail.gmail.com \
--to=gcr@wisdomandwonder.com \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@gmail.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).