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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: breadcrumb-mode and json-ts-mode (possibly yaml-ts-mode,
 others) performance
Date: Fri, 8 Mar 2024 09:54:54 +0100
[Message part 1 (text/plain, inline)]
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".
[Message part 2 (text/html, inline)]

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.