John Ehresman:

> What's odd is text measurement is slower and I don't see where the cache
> is used during measurement.  You could try looking at locking -- is any
> of this called when the gdk global lock not held?  If not, you could
> simply rely on that to ensure only one thread is running at a time.

   My performance intuition for X is much worse than for Windows.
Since there is more of a gap between client code and the graphics
server (although it is complicated by the proportion of processing
inside GTK+) its quite sensitive to pipeline disruption when a value
is required back from the server. Time is often transferred ahead from
a write operation to the next read operation where the queue of writes
is flushed.

   The text measurement time was minor in this test, less than 20% of
the total painting time. Around 19 screens per second were displayed
which is reasonably smooth although there are still stutters when, for
example, a brace highlight results in extra redrawing.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to