Subject: Re: bug#65760: 29.1; eglot performance issue

From: Axel Forsman <[email-masked]>
Date: Tue, 05 Sep 2023 16:59:57 +0000 (UTC)

I disagree with the initial decision to log all JSONRPC events
by default to begin with, but irregardless,
should it not be possible to fix the performance issues by
having jsonrpc--log-event push raw events onto a ring,
and introducing a second function that
formats the raw events as strings
and inserts them into a new buffer that gets displayed.
That way the expensive pretty printing would be deferred
to until the events are actually viewed.

/Axel