From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: opening a 0.5 MB org file is slow
Date: Thu, 01 Oct 2020 10:41:41 +0200 [thread overview]
Message-ID: <87sgayxrqy.fsf@mat.ucm.es> (raw)
In-Reply-To: 87a6x6nbnd.fsf@gmail.com
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
>>> "JJ" == Jeremie Juste <jeremiejuste@gmail.com> writes:
> Hello Uwe,
> Very well, it seems that we are on the right track. So you might gain
> some speed by preventing some minor modes to load at the beginning and
> load only when you need them.
> Like Ihor Radchenko mentioned in his previous a great way to diagnose
> the issu would be the following:
> 1. M-x profiler-start cpu
> 2. open your file
> 3. M-x profiler-report
> It will let you see which functions are slowing you down.
Thanks! I did it. But I am a bit puzzled about the outcome:
+ redisplay_internal (C function) 1724 82%
+ command-execute 215 10%
+ ... 117 5%
+ timer-event-handler 22 1%
global-orglink-mode-check-buffers 1 0%
Not sure what to do with stuff on the C level.
Uwe
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
next prev parent reply other threads:[~2020-10-01 8:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 19:11 opening a 0.5 MB org file is slow Uwe Brauer
2020-09-29 21:06 ` Jeremie Juste
2020-09-29 21:48 ` Russell Adams
2020-09-30 4:12 ` Ihor Radchenko
2020-09-30 4:35 ` Samuel Wales
2020-09-30 5:01 ` TEC
2020-09-30 5:13 ` Ihor Radchenko
2020-09-30 22:33 ` Jeremie Juste
2020-09-30 19:13 ` Uwe Brauer
2020-09-30 16:37 ` Eric S Fraga
2020-09-30 19:10 ` Uwe Brauer
2020-09-30 22:27 ` Jeremie Juste
2020-10-01 8:41 ` Uwe Brauer [this message]
2020-10-01 8:44 ` Ihor Radchenko
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=87sgayxrqy.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
/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).