bug#81150: 31.0.60; eglot: performance issue with markdown-ts-mode

Rahul Martim Juliato <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Romain Ouabdelkader <[email protected]> writes:

> I realized that the previous profile (profile32.txt) was made with (setq eglot-documentation-renderer 'markdown-ts-mode)
> I re-tried with (setq eglot-documentation-renderer 'markdown-ts-view-mode), just to be sure, I still the same freeze.
>
> Attached is a profile with markdown-ts-view-mode.
>
>

Thank you for the profiles, they are very useful.  They point at a
different part of 'markdown-ts-mode' than the one we fixed in bug#81334:
almost all the time is spent in the tree-sitter range updates for the
embedded inline parser, not in the fontification itself.

I'll work on that and get back as soon as I have something concrete.  In
the meantime I also want to build a reproducible setup for this,
probably in a container, since I'm not hitting the freezes on my own
machines.

-- 
Rahul Martim Juliato
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.