emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremie Juste <jeremiejuste@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: opening a 0.5 MB org file is slow
Date: Tue, 29 Sep 2020 23:06:39 +0200	[thread overview]
Message-ID: <87eemknvhc.fsf@gmail.com> (raw)
In-Reply-To: <871rik4cv0.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 29 Sep 2020 21:11:31 +0200")

Hello Uwe,

Can you test with emacs -Q ?

A 1.6M org file took a little under 7 sec on my computer.
It probably depends on the number of minor modes are being loaded, font-lock,
auto-completion, etc. 

I'm afraid I don't know how to profile the opening of a file. Does
anybody know a function that would do the profiling like
elp-instrument-function for functions?

-- 
HTH
Jeremie Juste



On Tuesday, 29 Sep 2020 at 21:11, Uwe Brauer wrote:
> Hi 
>
> maybe I am just to impatient but on my 8 GB Thinkpad X1 (4gen) to open a
> 0.5MB org file takes around 15 sec.
>
> Any change to speed this up?
>
> Thanks and regards
>
> Uwe Brauer 
>



  reply	other threads:[~2020-09-29 21:07 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 [this message]
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
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=87eemknvhc.fsf@gmail.com \
    --to=jeremiejuste@gmail.com \
    --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).