GNU bug report logs - #69630
breadcrumb-mode and json-ts-mode (possibly yaml-ts-mode, others) performance

Previous Next

Package: emacs;

Reported by: Johann Höchtl <johann.hoechtl <at> gmail.com>

Date: Fri, 8 Mar 2024 08:57:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 69630 <at> debbugs.gnu.org
Subject: bug#69630: breadcrumb-mode and json-ts-mode (possibly yaml-ts-mode, others) performance
Date: Sat, 9 Mar 2024 19:11:07 +0100
Oh sorry, I erroneously assumed breadcrumb-mode was an Emacs core 
feature, I will report it against the authors Github repo.

Best, Johann

On 09.03.24 08:24, Eli Zaretskii wrote:
>> From: Johann Höchtl <johann.hoechtl <at> gmail.com>
>> Date: Fri, 8 Mar 2024 09:54:54 +0100
>>
>> When opening a json file using it's -ts-mode, bread-crumb-mode causes a big performance impact. This
>> performance impact seems to be more than linear i nrealtion to file size,  doubling in size causes more than
>> doubling the time until emacs becomes responsible again, likely because it contains more than double the
>> number of nodes to parse.
>>
>> Many other popular editors contain a breadcrumb-feature and having that feature for json, yaml, xml, ... files
>> seems "natural".
> Isn't that a bug (or mis-feature) in breadcrumb-mode that you should
> report to the developers of breadcrumb-mode?
>
> IOW, why did you think the right place to report this is here?  Any
> evidence that something in Emacs core is causing the performance
> issue?
>
> Thanks.




This bug report was last modified 1 year and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.