>>>>> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes:

>> ------- Additional Comments From [EMAIL PROTECTED] 2007-01-15 14:42
>> ------- If someone could produce a profile while scrolling that
>> would help me investigating the issue.

Edwin> profile here

Edwin> http://leuven.ecodip.net/lyx/preview.zip

The relevant part (even clearer than the data on why my previous
message on the subject was based) is:

-----------------------------------------------
                0.00  830.48    5640/5640        
lyx::LyX::updateInset(lyx::InsetBase const*) const [4]
[5]     99.3    0.00  830.48    5640         
lyx::LyXView::updateInset(lyx::InsetBase const*) const [5]
                0.00  538.71    5640/5645        
lyx::BufferView::update(lyx::Update::flags) [11]
                0.01  291.75    5640/5646        
lyx::frontend::WorkArea::redraw() [17]
                0.01    0.00   11280/17448       
lyx::frontend::WorkArea::bufferView() [454]
                0.00    0.00    5640/99410212     lyx::BufferView::buffer() 
const [191]
-----------------------------------------------

So 99.3 of the time (that gprof sees) is spent updating and
redisplaying the workarea after each inset update!

I am not sure what the best solution is though.

JMarc

Reply via email to