From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: x-create-frame is sluggish Date: Fri, 24 Sep 2004 08:08:48 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1096027788 18769 80.91.229.6 (24 Sep 2004 12:09:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 12:09:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 24 14:09:36 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 1CAotL-0004Fu-00 for ; Fri, 24 Sep 2004 14:09:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAozI-0006Vg-In for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2004 08:15:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAoyo-0006NT-Kq for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:15:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAoyn-0006Mv-LT for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:15:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAoyn-0006MT-Bx for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:15:13 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAosb-0007WM-9H for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:08:49 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CAosa-00010t-Oc; Fri, 24 Sep 2004 08:08:48 -0400 Original-To: Karoly.Lorentey@cern.ch (=?utf-8?Q?L=C5=91rentey_K=C3=A1roly?=) In-reply-to: (Karoly.Lorentey@cern.ch) 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:27536 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27536 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? It must be possible to make frames share fontsets when those are the same. If someone wants to work on it. At the moment our priority is to aim for a release, not for redesigns like this. But if you implement this change, we will surely want to install it sooner or later.