emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Bienstman <peter.bienstman@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Fwd: Slow to open certain file
Date: Wed, 23 Sep 2020 09:21:22 +0200	[thread overview]
Message-ID: <CAMdxoPFNw1Jpy2uaka=_yqHvtQDMZwqDFcW2=zme151jQEExSw@mail.gmail.com> (raw)
In-Reply-To: <CAMdxoPGsFd7km+c5aAh-cBN+zxwxsCsb5B6nBnpPZt4UMg3qZg@mail.gmail.com>

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

Attached the profile when i open with 'find-file'. It still seems to
call ivy-read, but the interesting thing is that now a lot of time is
apparently spent in 'url-http' functions. The file contains lots of
web links, so it seems emacs is trying to do something with them when
it really shouldn't...



PS: this is not a permanent paper archive, but rather an ephemeral
collection of journal rss feeds

On Wed, Sep 23, 2020 at 3:48 AM Ihor Radchenko <yantar92@gmail.com> wrote:
> I have no issue opening your file (under 1 second).
> > I also attach the profile.
> Looking at the profile, the problem seems to be with ivy. Can you try
> opening the file without ivy. Something like
> M-: (find-file "~/Org/notes.org") <RET>
> P.S. You can also add notes to papers from org-ref. That is a great help
>      when your paper database grow bigger.
> Best,
> Ihor
> Peter Bienstman <peter.bienstman@gmail.com> writes:
> > Opening this file takes more than 10 seconds:
> >
> > https://www.dropbox.com/s/tg7pr6tetlh7jwb/toc%2020200922%2007.00.01.org?dl=0
> >
> > I also attach the profile.
> >
> > I have org files which are much bigger, and they open almost instantly.
> >
> > This is on Windows 10, emacs 26.3, all packages updated to the latest version.
> >
> > Is there anything I can do to speed this up?
> >
> > Thanks!

[-- Attachment #2: profile.png --]
[-- Type: image/png, Size: 84441 bytes --]

  parent reply	other threads:[~2020-09-23  7:22 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
2020-09-23  1:47 ` Ihor Radchenko
     [not found]   ` <CAMdxoPGsFd7km+c5aAh-cBN+zxwxsCsb5B6nBnpPZt4UMg3qZg@mail.gmail.com>
2020-09-23  7:21     ` Peter Bienstman [this message]
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:

  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='CAMdxoPFNw1Jpy2uaka=_yqHvtQDMZwqDFcW2=zme151jQEExSw@mail.gmail.com' \
    --to=peter.bienstman@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).