From: Ihor Radchenko <yantar92@posteo.net>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] If you use Org 9.6, please share the output of M-x org-element-cache-hash-show-statistics
Date: Thu, 27 Apr 2023 13:33:50 +0000 [thread overview]
Message-ID: <87bkj9o3ep.fsf@localhost> (raw)
In-Reply-To: <87sfffawfe.fsf@localhost>
Ihor Radchenko <yantar92@posteo.net> writes:
> I would like to assess the efficiency of one of search optimizations used
> in org-element.el [1]
Thanks everyone for responding!
It looks like the optimization is useful at least to some people (20%
cached searches is a good thing to have).
A number of people also reported significant fraction of cache queries
associated with editing (non-hashable). They cannot, unfortunately, be
handled by this particular optimization and I have to leave them as is.
I am thus leaving the code in place, removing the statistics gathering
parts.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2bc510217
Done.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2023-04-27 17:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-09 11:51 [RFC] If you use Org 9.6, please share the output of M-x org-element-cache-hash-show-statistics Ihor Radchenko
2023-02-09 14:26 ` Hanno Perrey
2023-02-09 16:39 ` Mark Barton
2023-02-09 18:36 ` Kévin Le Gouguec
2023-02-10 19:57 ` Kévin Le Gouguec
2023-02-09 19:24 ` Jeffrey DeLeo
2023-02-09 20:38 ` Simon Butler
2023-02-09 21:50 ` João Pedro
2023-02-09 21:58 ` Jonathan Gregory
2023-02-09 21:59 ` Ted Reed via General discussions about Org-mode.
2023-02-09 22:25 ` Detlev Zundel
2023-02-10 14:52 ` Detlev Zundel
2023-02-10 11:12 ` Fraga, Eric
2023-02-10 22:57 ` Alan Tyree
2023-02-10 18:15 ` Gregor Zattler
2023-02-13 4:34 ` orzodk
2023-02-13 19:13 ` [External] : " Daniel Ortmann
2023-04-27 13:33 ` Ihor Radchenko [this message]
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=87bkj9o3ep.fsf@localhost \
--to=yantar92@posteo.net \
--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).