JSON parsing bottleneck #4392
geza-herman
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is not strictly an lsp-mode question, but related.
I read at reddit that in some cases, JSON parsing is the bottleneck in lsp-mode, causing 1-2 second freezes.
I'm working on a faster JSON parser (replacing the jansson based parser in Emacs), and I'd like to try it out how it performs. In theory, it is works well: using clangd LSP messages as a dataset, my parser runs 8-10x faster. But this is just theory, I'd like to try it out in real circumstances. Does anyone have a simply reproducible case where JSON parsing is the bottleneck and it causes the mentioned freezes?
(if anyone wants to try out the new parser, it is attached as a patch to this email: https://lists.gnu.org/archive/html/emacs-devel/2024-03/msg00597.html)
Beta Was this translation helpful? Give feedback.
All reactions