emacs-devel
[Top][All Lists]
Advanced

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

Re: master c59e878: Inhibit modification hooks when saving eieio-persist


From: Eric Abrahamsen
Subject: Re: master c59e878: Inhibit modification hooks when saving eieio-persistent's
Date: Mon, 04 May 2020 14:42:05 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> Eric Abrahamsen <address@hidden> writes:
>
>> ;; With modification hooks uninhibited (ie, reverting Michael's commit).
>> (benchmark-run 100 (my-save-registry)) -> (1028.64836554 2801
>> 537.1068782020001)
>> (benchmark-run 100 (my-save-ebdb)) -> (51.585404029 134 20.779424303000003)
>>
>> ;; With modification hooks inhibited (Emacs master).
>> (benchmark-run 100 (my-save-registry)) -> (989.206686569 2800 526.325465032)
>> (benchmark-run 100 (my-save-ebdb)) -> (63.946958194 127 23.392065172000002)
>
> `my-save-ebdb' is slower with modification hooks inhibited?

That's why this took me so long, I decided I was confused and re-ran the
tests all over again.

Also I forgot to note:

My before-change-functions: (org-indent-notify-modified-headline 
org-before-change-function t syntax-ppss-flush-cache)

My after-change-functions: (jit-lock-after-change 
flyspell-after-change-function org-indent-refresh-maybe t)



reply via email to

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