Helge Hafting a écrit :
Abdelrazak Younes wrote:
If you mean keyboard scrolling, part of the slowness is because I
disabled the key buffering. I want to see profiling statistics without
it. On due time, if it is still needed I will re-enable it.
Key buffering is not the root of this problem. The cpu is pegged at 100%,
so the scrolling could not be faster with buffering. If qt4 were waiting
for
keyboard repeat, then the cpu load wouldn't be 100%.
Key buffering is not the root of the problem indeed. My point is that it
skips redrawing that could are too late for dand that is what I want to
avoid for now.
Maybe the qt4 library shipped by debian has some apalling performance
flaw, or missing optimization or whatever. Or it could possibly be in lyx,
but less likely considering that qt4 on windows supposedly is fine.
For now, lyx with qt4 seems to do about 8 times as much cpu work as
qt3 when anything (scroll, resize, typing) happens in the main window.
On Windows, the cpu work a bit more with qt4 but not a lot, maybe 30%
more. I think there's still something wrong in the way I use QPixmap and
I guess this is the root of the problem for XWindow. Could you do some
profiling?
Abdel.