[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Something has sped up desktop. :-)
From: |
Alan Mackenzie |
Subject: |
Re: Something has sped up desktop. :-) |
Date: |
Wed, 24 Jan 2018 21:41:35 +0000 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
Hello, Stefan.
On Wed, Jan 24, 2018 at 14:37:50 -0500, Stefan Monnier wrote:
> > (in Emacs 25.3):
> > find-file-noselect-1 309 11.308377736 0.0365966917
> > <==========
> > (and in Emacs 26.0.91):
> > find-file-noselect-1 309 2.9180459170 0.0094435142
> > <==========
> Hmmm, so find-file-noselect-1 got a lot faster.
> Can you compare the `profiler-report' between those two versions,
> focusing on the part under find-file-noselect-1?
> And do you happen to know if Emacs-24's performance in this respect was
> more like Emacs-25's or more like Emacs-26's?
I've tracked down where the speedups have come from.
Mainly I was getting a 1 second (sit-for 1) every time a loaded file had
autosave-data, because find-file-noselect-1 is programmed to pause that
second on a warning message. That was taken out by Kaushal Modi on
2016-07-22. Thanks, Kaushal!
I've also been saved ~3 seconds loading files under Mercurial because of
Daniel Colascione's optimisation from 2016-02-08. Thanks Daniel!
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).