You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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