From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: x-create-frame is sluggish
Date: Sat, 25 Sep 2004 11:39:06 +0900 (JST) [thread overview]
Message-ID: <200409250239.LAA15347@etlken.m17n.org> (raw)
In-Reply-To: <lorentey.g.e.devel.871xgt6ph5.elte@eris.elte.hu> (Karoly.Lorentey@cern.ch)
In article <lorentey.g.e.devel.871xgt6ph5.elte@eris.elte.hu>, Karoly.Lorentey@cern.ch (Lőrentey Károly) writes:
> Creating a new X frame takes about two seconds on my system, which is
> long enough a delay to be distracting. My little profiling session
> determined that most of this time is spent in xic_create_fontset,
> calling XCreateFontSet. Is it really necessary to create a new
> fontset for each new frame? Can I do something to speed this up?
> (`xlsfonts | wc -l' reports that I have 6205 fonts on my system.)
I think we can cache XFontSet in struct x_display_info per
each base_fontname. Then we can avoid calling of
XCreateFontSet when we create a new frame on the same
display with the same font.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2004-09-25 2:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-23 14:15 x-create-frame is sluggish Lőrentey Károly
2004-09-24 12:08 ` Richard Stallman
2004-09-25 2:39 ` Kenichi Handa [this message]
2004-09-25 15:36 ` Richard Stallman
2004-10-01 1:26 ` Kenichi Handa
2004-10-01 8:51 ` Károly Lőrentey
2004-10-10 22:45 ` Lőrentey Károly
2004-10-11 7:54 ` Jan D.
2004-10-11 14:53 ` Károly Lőrentey
2004-10-11 19:51 ` Jan D.
2004-10-11 20:03 ` Jan D.
2004-10-25 13:07 ` Lőrentey Károly
2004-10-25 13:16 ` Jan D.
2004-10-03 14:32 ` Richard Stallman
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=200409250239.LAA15347@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.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 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.