On Wed, 2006-05-03 at 09:56 +0200, Helge Hafting wrote: > I was asked to redo my test with a newer lyx 1.5, now > I have finally done it: > > Small test of lyx qt3 and lyx qt4 revision 13787 > > Both executables use the same config and display. > Both apps have the exact same window size in pixels, and the main > windows happened to have the same sizes too.
... > The perceived slowness of qt4 varies a lot, but factor in the cpu load > and we see that lyx-qt4 does 6-9 times more work to achieve the same. > qt3 seems snappy because it is usually not cpu-limited. The speed > depends on keyboard and mouse repeat rate, as it should. > > Now, qt4 doesn't actually seem to paint the screen slowly, the delay > always seems to be between window redraws. This suggest that lyx-qt4 > either use worse algorithms, or that some qt4 non-drawing calls are > much slower than the qt3 counterparts. Such as figuring out lengths of > textstrings, perhaps. Or character widths... LyX does a lot of that. Profiling would tell. - Martin
signature.asc
Description: This is a digitally signed message part