[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses sa
From: |
João Távora |
Subject: |
bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator |
Date: |
Sun, 26 Nov 2023 22:02:01 +0000 |
On Sun, Nov 26, 2023 at 8:38 PM Joseph Turner <joseph@ushin.org> wrote:
>
> João Távora <joaotavora@gmail.com> writes:
>
> > On Sat, Nov 25, 2023 at 10:43 PM Joseph Turner <joseph@ushin.org> wrote:
> > So, benchmarking it will have to be, I'm afraid, because AFAIK
> > font-locking is a very performance sensitive area of Emacs.
>
> Yes. I would like to learn how to do this!
I'm CCing Eli.
In the past, ISTR, Eli suggested to benchmark such things by visiting a
very large file in its beginning, then scrolling down by holding
the down arrow or PgDn for some fixed time period, like 30 seconds.
The Emacs that scrolls the farthest is the most performant. Not
entirely fail-proof (other processes may interfere, etc), but not
bad either.
So here you could create very large fictitious Elisp file with 0, 1, 3 and
10 shorthands each and then run your version vs my version and record
the final line numbers. Then show the files and the numbers.
> > In the meantime I will push my patch, but keep the bug open to see
> > if it is worth pushing Joseph's version.
>
> Thank you!!
Now done in 36941e9e6a (master).
> I'm happy to discuss this further if others are interested.
I'm keeping this open.
João
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Jonas Bernoulli, 2023/11/22
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/23
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Jonas Bernoulli, 2023/11/24
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/24
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Joseph Turner, 2023/11/24
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Jonas Bernoulli, 2023/11/25
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Joseph Turner, 2023/11/25
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/26
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Joseph Turner, 2023/11/26
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator,
João Távora <=
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Joseph Turner, 2023/11/26
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Eli Zaretskii, 2023/11/27
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/29
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Joseph Turner, 2023/11/29
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/29
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/29
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/29
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/30
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, Eli Zaretskii, 2023/11/30
- bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator, João Távora, 2023/11/30