all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Slow frame creation when many faces defined
Date: Sat, 12 Nov 2005 13:07:10 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICGELICOAA.drew.adams@oracle.com> (raw)
In-Reply-To: <36FCC05F-335C-4636-AA20-9421BC6C3520@gmail.com>

    I've got a question about a noticeable lag in frame creation when
    many frames are defined. This can be reproduced with

    (let ((n 0))
    (while (< n 1000)
       (make-face (make-symbol "someface"))
       (setq n (1+ n))))

    then do C-x 5 2. This creates a lag of several seconds.

This is neither here nor there, but:

The frame creation appears _instantaneous_ with Emacs 20 on my (average)
machine with Windows XP. Using 10000 instead of 1000, it takes about 3
seconds to evaluate the above expression and about 3 seconds to open the new
frame.

I confirm that, even with "only" 1000, it takes a couple of seconds to open
the frame with Emacs 22 (July snapshot of CVS).

So, there is maybe an order of magnitude difference between Emacs 20 and
Emacs 22 in this regard. I don't know if that's significant in any way, but
there it is.

  reply	other threads:[~2005-11-12 21:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12 19:56 Slow frame creation when many faces defined David Reitter
2005-11-12 21:07 ` Drew Adams [this message]
2005-11-13 20:54 ` Richard M. Stallman
2005-11-13 23:38   ` Kim F. Storm
2005-11-14  8:33     ` David Reitter
2005-11-14  9:24       ` Kim F. Storm
2005-11-15  8:11 ` YAMAMOTO Mitsuharu
2005-11-15 11:51   ` David Reitter
2005-11-15 16:47     ` Drew Adams

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICGELICOAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.