GNU bug report logs - #41267
26.3; Frame creation spends 1-2s in face-set-after-frame-default

Previous Next

Package: emacs;

Reported by: Jamie Brandon <jamie <at> scattered-thoughts.net>

Date: Thu, 14 May 2020 18:40:01 UTC

Severity: normal

Tags: moreinfo, patch

Merged with 41200

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jamie Brandon <jamie <at> scattered-thoughts.net>
Cc: 41267 <at> debbugs.gnu.org
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 <at> 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.




This bug report was last modified 3 years and 303 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.