From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: element-debug-mode breaks capture
Date: Wed, 19 Aug 2015 15:43:31 +0200 [thread overview]
Message-ID: <87io8b8kcc.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87614be8es.fsf@free.fr> (Bastien's message of "Wed, 19 Aug 2015 15:04:43 +0200")
Bastien <bzg@gnu.org> writes:
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote:
>>
>> [...]
>>
>>> With a 13MO file, with 500 headlines, each containing about 100
>>> paragraphs, editing the end of the last paragraph (unfill/fill)
>>> is just very fast.
>>
>> What about editing at the start of the file?
>
> Very fast. I made a small movie, that'll help telling if I'm
> doing the wrong tests:
>
> http://bzg.fr/u/org-element-cache-test.ogv
You edit the first paragraph of a section, which is always fast.
Try 1000 paragraphs in a single entry and move to the end of line
anywhere in the last one.
Also, try (require 'benchmark) (benchmark 1 '(org-element-at-point))
*twice* with or without `org-element-use-cache' in that last paragraph.
Without cache, parsing doesn't scale. Some users reported already in
th past having issues with speed on large documents.
Regards,
prev parent reply other threads:[~2015-08-19 13:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-16 20:52 element-debug-mode breaks capture Samuel Wales
2015-08-18 15:43 ` Bastien
2015-08-19 9:39 ` Nicolas Goaziou
2015-08-19 10:27 ` Bastien
2015-08-19 10:34 ` Nicolas Goaziou
2015-08-19 10:55 ` Bastien
2015-08-19 12:14 ` Eric S Fraga
2015-08-19 13:04 ` Bastien
2015-08-19 13:43 ` Nicolas Goaziou [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=87io8b8kcc.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=bzg@gnu.org \
--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).