From xemacs-m  Fri Mar 21 01:30:31 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id BAA00593
	for <xemacs-beta@xemacs.org>; Fri, 21 Mar 1997 01:30:29 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQchuk13982; Fri, 21 Mar 1997 02:30:26 -0500 (EST)
Date: Fri, 21 Mar 1997 02:30:26 -0500 (EST)
Message-Id: <QQchuk13982.199703210730@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: Customize faces slow (known problem?) (b101)
In-Reply-To: <by3etq4vk9.fsf@math.ethz.ch>
References: <by3etq4vk9.fsf@math.ethz.ch>
X-Mailer: VM 6.21 under 19.15 XEmacs Lucid (beta101)
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Jan Vroonhof writes:
 > I am sure I have read about this somewhere before. But customize-faces
 > seems to be really slow here. The inital buffer takes more than a
 > minute to build on our Ultra200. That I can live with, but if you
 > unhide a face to look at it's settings is also takes a minute, this
 > irritating.
 > 
 > Is this a known problem am I doing something wrong?

I profiled the startup of customize-face and the top three Lisp
functions were

widget-get                                               556   17.696
add-text-properties                                      440   14.004
widget-default-create                                    405   12.890

accounting for 43% of the time.

start-profiling, stop-profiling and pretty-print-profiling-info
are the functions to use if you want to do it yourself.

