unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Arthur Miller <arthur.miller@live.com>
Cc: manuel.uberti@inventati.org, emacs-devel@gnu.org
Subject: Re: Is this "save practice" (setting default font scale)?
Date: Sat, 21 Nov 2020 18:04:39 +0200	[thread overview]
Message-ID: <835z5yzofc.fsf@gnu.org> (raw)
In-Reply-To: <AM0PR06MB657700D60B1B6F689B3377A996FE0@AM0PR06MB6577.eurprd06.prod.outlook.com> (message from Arthur Miller on Sat, 21 Nov 2020 14:45:58 +0100)

> From: Arthur Miller <arthur.miller@live.com>
> Date: Sat, 21 Nov 2020 14:45:58 +0100
> Cc: emacs-devel@gnu.org
> 
> > (custom-set-faces
> >  '(default ((t (:family "Anonymous Pro-16"
> >                 :height 140
> >                 :weight light)))))
> It seems to be just very slightly slower; but it might also be too small
> of a difference for my system to give a polite result.
> 
> With above my startup is currently repporting times all betweeen ~0.2x
> to ~ 0.3x; with your version it is aroun ~0.3 to ~0.4 I measure 5
> startups every time. 
> 
> I don't see reasons why there would be a difference; it might be just
> fluctuations in my system. I dont' know how polite (emacs-init-time) is
> either. 

AFAIU, custom-set-faces does a bit more than just set-face-attribute,
but I'd be surprised if that could account for 0.1 sec of time.



  reply	other threads:[~2020-11-21 16:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 14:51 Is this "save practice" (setting default font scale)? Arthur Miller
2020-11-20 15:06 ` Daniele Nicolodi
2020-11-20 15:26   ` Arthur Miller
2020-11-20 15:14 ` Eli Zaretskii
2020-11-20 15:37   ` Arthur Miller
2020-11-20 20:05     ` Eli Zaretskii
2020-11-21  6:33       ` Arthur Miller
2020-11-20 22:47     ` chad
2020-11-21  6:43       ` Arthur Miller
2020-11-21  7:18         ` Manuel Uberti
2020-11-21 13:45           ` Arthur Miller
2020-11-21 16:04             ` Eli Zaretskii [this message]
2020-11-21 17:05               ` arthur miller
2020-11-20 15:52 ` Stefan Monnier
2020-11-21  6:12   ` Arthur Miller

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=835z5yzofc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arthur.miller@live.com \
    --cc=emacs-devel@gnu.org \
    --cc=manuel.uberti@inventati.org \
    /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).