all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Q on performance with 10000 faces
@ 2006-05-22  0:02 Drew Adams
  2006-05-22  3:41 ` Eli Zaretskii
  2006-05-22 15:12 ` Richard Stallman
  0 siblings, 2 replies; 38+ messages in thread
From: Drew Adams @ 2006-05-22  0:02 UTC (permalink / raw)


I have a color palette that is 100 chars by 100 chars. Each char has a
different face text-property value. Once the palette is displayed, it brings
Emacs to a crawl. That is, just having the palette displayed makes
everything in Emacs slow to a crawl from then on. If the palette is
iconified, then there is no problem with response time. It is the mere
display of it that clogs the wheels.

There was a thread in 2005/11 about slow frame creation when there are
numerous faces. That is not the problem here - I can live with slow frame
creation. The problem is that after the frame with the faces is created
Emacs becomes and remains unbearably slow.

Reducing the character size to, say, 3, improves responsiveness a little
bit, I think (and that smaller size is in fact what I want), but things are
still so slow that it makes the feature unusable.

Does this mean that Emacs cannot reasonably be expected to display 10000
face text-properties? If so, any advice on workarounds or other approaches?
Is the slowdown perhaps because of some kind of automatic updating or
refreshing, which I could turn off somehow (I hope)? The palette is
constant; there is no need to refresh it (except because the frame is moved
etc.). Its face text-property values will never change.

The palette is quite nice visually, and I would like to be able to use it
(e.g. for color selection), but this is obviously not the way to go. I'm
hoping this might be a bug and not a design limitation, but perhaps that
hope is unrealistic.

In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2006-03-20 on W2ONE
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2006-06-06  6:53 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22  0:02 Q on performance with 10000 faces Drew Adams
2006-05-22  3:41 ` Eli Zaretskii
2006-05-22  6:26   ` Drew Adams
2006-05-22  6:42     ` Miles Bader
2006-05-22 13:39       ` Drew Adams
2006-05-22  8:15     ` Kim F. Storm
2006-05-22 13:47       ` Drew Adams
2006-05-22 12:59     ` Stefan Monnier
2006-05-22 13:49       ` Drew Adams
2006-05-22 18:45         ` Eli Zaretskii
2006-05-22 18:44       ` Eli Zaretskii
2006-06-02 15:04         ` Drew Adams
2006-06-03  1:43           ` Drew Adams
2006-06-04 22:39             ` Kim F. Storm
2006-06-05  0:29               ` Drew Adams
2006-06-05 21:35                 ` Kim F. Storm
2006-06-06  6:53                   ` Drew Adams
2006-05-22 18:41     ` Eli Zaretskii
2006-05-22 20:59       ` Drew Adams
2006-05-22 22:30         ` Drew Adams
2006-05-22 23:28           ` Kevin Rodgers
2006-05-23  0:41             ` Drew Adams
2006-05-23  0:43         ` Luc Teirlinck
2006-05-23  1:25           ` Drew Adams
2006-05-25 16:21             ` Drew Adams
2006-05-23 11:08         ` Stefan Monnier
2006-05-23 14:07           ` Drew Adams
2006-05-23 23:48             ` Luc Teirlinck
2006-05-24  0:02               ` Drew Adams
2006-05-23 19:00           ` Eli Zaretskii
2006-05-23 21:06             ` Stefan Monnier
2006-05-24  5:50               ` Richard Stallman
2006-05-24 12:02                 ` Stefan Monnier
2006-05-25  0:36                   ` Richard Stallman
2006-05-25  3:22                     ` Eli Zaretskii
2006-05-25 16:31                       ` Richard Stallman
2006-05-22 15:12 ` Richard Stallman
2006-05-22 15:18   ` Drew Adams

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.