emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andy Klock <andy@klockmail.com>
To: Peter Bienstman <peter.bienstman@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Slow to open certain file
Date: Tue, 22 Sep 2020 17:33:28 +0000	[thread overview]
Message-ID: <m2k0wlpvh8.fsf@klockmail.com> (raw)
In-Reply-To: <CAMdxoPEDF7wo_GsNo+3_jFhcSLiCRdEWFEiYGD9op_DZv23SOQ@mail.gmail.com>

"Peter Bienstman" <peter.bienstman@gmail.com> writes:

> Is there anything I can do to speed this up? 

Might be a good idea to profile the operation to see where it is 
spending time. Can you:

M-x profiler-start
C-x C-f (or whatever you are doing to open the file)
M-x profiler-report

Here's my output on your file:

https://p.andyklock.com/_CPU-Profiler-Report_2020-09-22_13_27_05_.html

Maybe that will help point you into the right (or at least a) 
direction.

Andy K

REF:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Profiling.html



  parent reply	other threads:[~2020-09-22 17:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 12:35 Slow to open certain file Peter Bienstman
2020-09-22 16:48 ` John Kitchin
2020-09-22 17:33 ` Andy Klock [this message]
2020-09-23  1:47 ` Ihor Radchenko
     [not found]   ` <CAMdxoPGsFd7km+c5aAh-cBN+zxwxsCsb5B6nBnpPZt4UMg3qZg@mail.gmail.com>
2020-09-23  7:21     ` Fwd: " Peter Bienstman
2020-09-23 16:58       ` Peter Bienstman
2020-09-23 16:35 ` Eric S Fraga

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=m2k0wlpvh8.fsf@klockmail.com \
    --to=andy@klockmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=peter.bienstman@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).