unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jamie Brandon <jamie@scattered-thoughts.net>
Cc: 41267@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	[thread overview]
Message-ID: <83lflu4a4o.fsf@gnu.org> (raw)
In-Reply-To: <87wo5e4b7a.fsf@scattered-thoughts.net> (message from Jamie Brandon on Thu, 14 May 2020 11:34:49 -0700)

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.





      reply	other threads:[~2020-05-14 18:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-14 18:34 bug#41267: 26.3; Frame creation spends 1-2s in face-set-after-frame-default Jamie Brandon
2020-05-14 18:57 ` Eli Zaretskii [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=83lflu4a4o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=41267@debbugs.gnu.org \
    --cc=jamie@scattered-thoughts.net \
    /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).