GNU bug report logs - #79361
minor jsonrpc optimisation suggestions

Previous Next

Package: emacs;

Reported by: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Date: Mon, 1 Sep 2025 19:00:02 UTC

Severity: normal

Full log


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

From: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: joaotavora <at> gmail.com, 79361 <at> debbugs.gnu.org
Subject: Re: bug#79361: minor jsonrpc optimisation suggestions
Date: Tue, 2 Sep 2025 21:32:21 +0200
2 sep. 2025 kl. 13.10 skrev Eli Zaretskii <eliz <at> gnu.org>:

> And yes, it would be nice to have timings.

These are obvious improvements at no cost, and JSON performance has turned out to be important for LSP and similar applications.

For what it's worth I've measured the difference that unibyte and binary coding make on synthetic cases (receiving JSON data and parsing it), not in eglot, but the improvement seems to be around 30-50 % which is much better than I expected.






This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.