unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Kaushal Modi <kaushal.modi@gmail.com>,
	Daniel Colascione <dancol@dancol.org>,
	emacs-devel@gnu.org
Subject: Re: Something has sped up desktop.  :-)
Date: Wed, 24 Jan 2018 21:41:35 +0000	[thread overview]
Message-ID: <20180124214135.GB4275@ACM> (raw)
In-Reply-To: <jwvo9ljxd7z.fsf-monnier+gmane.emacs.devel@gnu.org>

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).



      reply	other threads:[~2018-01-24 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 19:41 Something has sped up desktop. :-) Alan Mackenzie
2018-01-23 20:05 ` Eli Zaretskii
2018-01-23 20:47   ` Alan Mackenzie
2018-01-24 19:37     ` Stefan Monnier
2018-01-24 21:41       ` Alan Mackenzie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180124214135.GB4275@ACM \
    --to=acm@muc.de \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).