From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karoly.Lorentey@cern.ch (=?utf-8?Q?L=C5=91rentey_K=C3=A1roly?=) Newsgroups: gmane.emacs.devel Subject: x-create-frame is sluggish Date: Thu, 23 Sep 2004 16:15:34 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0280400495==" X-Trace: sea.gmane.org 1095949009 24893 80.91.229.6 (23 Sep 2004 14:16:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 14:16:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 16:16:32 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAUOY-0007ks-00 for ; Thu, 23 Sep 2004 16:16:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAUUa-0000nY-RO for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2004 10:22:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAUUS-0000nR-GU for emacs-devel@gnu.org; Thu, 23 Sep 2004 10:22:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAUUQ-0000nD-Fy for emacs-devel@gnu.org; Thu, 23 Sep 2004 10:22:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAUUQ-0000nA-CT for emacs-devel@gnu.org; Thu, 23 Sep 2004 10:22:30 -0400 Original-Received: from [157.181.1.137] (helo=mx1.elte.hu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAUNx-0004rt-G2 for emacs-devel@gnu.org; Thu, 23 Sep 2004 10:15:49 -0400 Original-Received: from mailbox1.caesar.elte.hu (mailbox1.caesar.elte.hu [157.181.151.157]) by mx1.elte.hu (Postfix) with ESMTP id 8AF98244C69 for ; Thu, 23 Sep 2004 16:14:07 +0200 (CEST) Original-Received: from eris.fnord.hu (pcitislory.cern.ch [137.138.41.46]) by mailbox1.caesar.elte.hu (Postfix) with ESMTP id 5B6AAA079701 for ; Thu, 23 Sep 2004 16:15:38 +0200 (CEST) Original-Received: by eris.fnord.hu (Postfix, from userid 1000) id 0643F303; Thu, 23 Sep 2004 16:15:34 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27493 --===============0280400495== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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.) =2D-=20 K=C3=A1roly --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBUtqG6eoyqA+yej8RAmOEAKDAfgKe6L+MjBX5K0B2FWVuHc4vLQCeJOV3 YvJ7GWHgGWeHVQ5JarSlW/Q= =U8Jk -----END PGP SIGNATURE----- --=-=-=-- --===============0280400495== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0280400495==--