Stephan Witt wrote: > To investigate the recently mentioned scrolling problems I did some profiling > on my machine. > See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html
i'm afraid we need exactly the setup where X is the main consumer. > Ok, it's a completely different environment (Mac, Qt-4.6-Cocoa, SVN-trunk) > but it's interesting too. To scroll with Page-Down through the Users Guide > completely > I have to wait appr. 20 or 30 seconds. Of course it's not pure text, there > are images, > tables and math. I did this twice. The first time with drawing of text > fragments and > the 2nd time with single character drawing. > > While doing this I collected the time profile with Shark, the profiler tool > of Xcode. > > The most interesting observation I've made is: most of the time LyX is busy > with other > things - not with screen drawing. The scroll operation cost is 5% for the > first and 15% > for the second variant of drawing. > The other things are thread and socket management and QProcess's doing. dont know shark but i guess this is misinterpretation. socket and thread managment look as main consumers just because the percentage is cumulative, no? (ie all the computation which happens under lyx::start will be automatically added to its callers - socket&thread) pavel