emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 08c80c45dde: Don't use file-truepath in Eglot (bug#70036)


From: João Távora
Subject: Re: master 08c80c45dde: Don't use file-truepath in Eglot (bug#70036)
Date: Thu, 18 Apr 2024 17:22:12 +0100

On Thu, Apr 18, 2024 at 4:44 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: João Távora <joaotavora@gmail.com>
> > Date: Thu, 18 Apr 2024 16:00:53 +0100
> > Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> >
> > So to summarize:
> >
> > * we don't use it "everywhere".  We use it once where it matters.
> > * the "punishment" isn't really severe and the little there was
> >   of it has been completely  avoided with my changes.
>
> If the last point is true, it should be confirmed by timing the old
> and the new code.

It is true at least from what I could gather are Theodor's
experiments.  Theodor states publishDiagnostics is a hotspot, but
I couldn't find it in his files emacs-29-before-everything and
emacs-30-before.  The hotspots I could recognize from that data
are 100% solved by my patch.  The appeared _faintly_ in my tests
(hence the comment about the "severity" of the punishment)
and after the patch they don't appear at all.

I've asked Theodor to post more data and details about a
reproducible experiment.  We should start there.

I apologize in part for not being present in the beginning when
analysing these (one-off and uncommon) performance concerns  but I
don't think that's a reason for rushing a regression-inducing change.

João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]