emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs-30 performances


From: Thierry Volpiatto
Subject: Re: Emacs-30 performances
Date: Sun, 09 Jun 2024 06:41:45 +0000

Thierry Volpiatto <thievol@posteo.net> writes:

> Mattias Engdegård <mattias.engdegard@gmail.com> writes:
>
>> 3 juni 2024 kl. 19.37 skrev Thierry Volpiatto <thievol@posteo.net>:
>>
>>>      (with-temp-file file
>>>        ;; Fix Emacs-30 lexbind warnings. 
>>>        (insert ";;; -*- lexical-binding: t -*-\n")
>>>        (prin1 `(setq-default ,obj (eval-when-compile ,obj)) 
>>> (current-buffer)))
>>>      (byte-compile-file file)
>>
>> We have made small changes to several of the moving parts here but it's 
>> unclear how they have the outsized effect you reported.
>>
>>> Perhaps this commit?
>>
>> I wish! But it could be useful to find what actually did. If you had
>> the time to bisect master to find it,

> So it is the first change after emacs-29.3 tag, done by Stefan, even if
> small, it makes a huge difference as you can see above (not sure to
> understand why though :-)).

No I was wrong, this commit has nothing to do with this, it is much more
complex than this as the tags are on another line of development (AFAIU).

Here what I find:

Bad:
ea5fd375bb2  Sat Mar 4 11:16:51 2023 Fix documentation of 'normal-mode' in 
buffers that don't v.. Eli Zaretskii 
(benchmark-run 1 (psession--dump-object-to-file-save-alist))
(7.966819985 0 0.0)

Good:
396f46d904a  Thu Feb 16 16:07:55 2023 bug#61489: Increase BLOCK_ALIGN from 1024 
to 32768           Konstantin Kharlamov 
(benchmark-run 1 (psession--dump-object-to-file-save-alist))
(0.488145912 0 0.0)

So this commit is perhaps the first commit where Emacs starts to be
fast, I am unsure because I don't fully understand how Emacs is
developed i.e. Master <=> emacs-29.


-- 
Thierry

Attachment: signature.asc
Description: PGP signature


reply via email to

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