> > Here more numbers, with this setup: > > MSVC8 > Qt 4.1.2 release > lyx-qt4 release -O2 > AMD XP 1.1Ghz, 100 Mhz Ram > ^^^^
Where do I get one of those? :) > > Page down-key scrolling time of the User's Guide: > > 55s > > but when I disable all functions of QLPainter > (just returning immediately) I still get > > 25s > > > So optimizing the text drawing functions couldn't > more than doubling the speed. > > Does anybody has an idea why it is still so slow when > all QLPainter functions are disabled? Is it still > a Qt4 problem, maybe because of the scrolling, or > is it a lyx-core "problem". > > A profiler would be very useful now, could valgrind > be used for profiling? > Nope, valgrind doesn't help here much. There is a valgrind-tool called cachegrind, but that doesn't give you what you want since it only tells you about cache misses. It also doesn't work with MSVC on Windows as far as I can tell - I believe it is only possible to use with cygwin. You could try to get a trial version of VTune - buying one is rather expensive :) Depending whether you go to college or work somewhere you might get access there. Check out the external links at http://en.wikipedia.org/wiki/Profiler_(computer_science) for a list of possible tools. Cheers, Michael > > Peter > > >