[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41267: 26.3; Frame creation spends 1-2s in face-set-after-frame-defa
From: |
Eli Zaretskii |
Subject: |
bug#41267: 26.3; Frame creation spends 1-2s in face-set-after-frame-default |
Date: |
Thu, 14 May 2020 21:57:59 +0300 |
merge 41267 41200
thanks
> From: Jamie Brandon <jamie@scattered-thoughts.net>
> Date: Thu, 14 May 2020 11:34:49 -0700
>
> When I launch emacsclient or make a new frame it spends 1-2s in:
>
> - make-frame 312 42%
> - frame-creation-function 311 42%
> - apply 311 42%
> - #<compiled 0x3edba9> 311 42%
> - x-create-frame-with-faces 311 42%
> - face-set-after-frame-default 287 39%
> + face-spec-recalc 274 37%
>
> If I replace face-spec-recalc with an empty function then the new frame loads
> instantly so I'm pretty sure that's the culprit.
>
> I have 523 faces in frame-face-alist but they all seem to be from packages I
> use regularly so I can't just get rid off them. Magit and notmuch account for
> a large minority of them.
>
> https://emacs.stackexchange.com/questions/58505/emacsclient-spending-a-lot-of-time-resetting-faces
> suggested that this is unexpected and should be reported as a bug.
Thanks, this is a duplicate of bug#41200.