Le 15/10/2015 09:20, Jean-Marc Lasgouttes a écrit :
Le 14/10/15 14:22, Stephan Witt a écrit :
Indeed. What about just dumping it? :p
I'm all for it.
I did some profiling. Pixmaps are indeed a little bit faster visually.
Here are the hard numbers
Without Pixmaps:
66% LyX
32% GuiWorkArea::Private::updateScreen
12,6% BufferView::updateMetrics
8,5% TabWorkArea::paintEvent
12% WindowServer
With Pixmaps:
62% LyX
26% GuiWorkArea::Private::updateScreen
15.4% BufferView::updateMetrics
11.7% TabWorkArea::paintEvent
12% WindowServer
Note that these numbers should be normalized so that the updateMetrics
numbers match (they are unrelated to pixmaps). Then everything will be
easier to compare.
I am in a hurry now, I will do it n a later message.
By the way, it is also much slower with orthographic correction and lot
of red-underlined words (e.g. a few lorem ipsum paragraphs). Is this
known/expected? On the positive side, the underlining looks much nicer,
which I assume is thanks to the text being rendered on a per-word basis.
I could not figure whether the performance issue is a regression.