Subject: bug#69630: breadcrumb-mode and json-ts-mode (possibly yaml-ts-mode, others) performance

From: Johann Höchtl <[email-masked]>
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 <[email-masked]>
>> 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.