emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Greg Coladonato <gcoladon@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)]
Date: Tue, 02 Nov 2021 13:26:32 +0800	[thread overview]
Message-ID: <87h7cv9lh3.fsf@localhost> (raw)
In-Reply-To: <CAO09H5tkHq2S_ngePiOV3AG77020Dd+wfCCd9FeYD2gBA9DNAA@mail.gmail.com>

Greg Coladonato <gcoladon@gmail.com> writes:

> Here's the report:
>
> [profiler-profile "24.3" cpu #s(hash-table size 325 test equal rehash-size
> ...

The profile shows that bottleneck is undo-fu-session. Even if
org-element-cache is the cause, it should be some strange interaction
with other external packages. org-element-cache itself does not change
buffer text. If anything, the new code should change buffer text
properties less than before because some of the older cache logic is
moved from using text properties to using org-element-cache.

Best,
Ihor


  reply	other threads:[~2021-11-02  5:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31 19:26 Greg Coladonato
2021-11-01 12:42 ` Ihor Radchenko
2021-11-02  3:25   ` Greg Coladonato
2021-11-02  4:05     ` Ihor Radchenko
2021-11-02  4:33       ` Greg Coladonato
2021-11-02  5:26         ` Ihor Radchenko [this message]
2021-11-02 23:06           ` Greg Coladonato
2021-11-03 11:50             ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2021-10-31  3:19 Scott Otterson
2021-10-31  3:53 ` 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=87h7cv9lh3.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gcoladon@gmail.com \
    --subject='Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/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

Code repositories for project(s) associated with this 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).