Bennett Helm <[EMAIL PROTECTED]> writes:

> Reconfigured with --enable-debug and no --enable-profiling. I ran
> LyX, opened a new document, started profiling, and held down the
> letter "w" for 30 seconds. The result is here:
>
> <http://edisk.fandm.edu/bennett.helm/LyX/LyX-1.5-time-profile.txt.zip>

As far as I can see, it boils down to:

+ 1169.3 ms lyx::LyXFunc::dispatch(lyx::FuncRequest const&) (lyx)
| + 588.5 ms 
_ZN5boost7signal0IvNS_10last_valueIvEEiSt4lessIiENS_8functionIFvvESaIvEEEEclEv 
(lyx)
| | + 579.4 ms 
_ZNK5boost10last_valueIvEclINS_7signals6detail18slot_call_iteratorINS4_11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEENS4_23named_slot_map_iteratorEEEEENS1_8unusableET_SH_
 (lyx)
| | | + 568.3 ms 
_ZN5boostppINS_7signals6detail18slot_call_iteratorINS2_11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEENS2_23named_slot_map_iteratorEEENS2_8unusableENS_25single_pass_traversal_tagERKSE_iEENS_6detail24postfix_increment_resultIT_T0_T2_T1_E4typeERNS_15iterator_facadeISK_SL_SN_SM_T3_EEi
 (lyx)
| | | | + 559.3 ms 
_ZNK5boost7signals6detail18slot_call_iteratorINS1_11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEENS1_23named_slot_map_iteratorEE11dereferenceEv
 (lyx)
| | | | | + 559.3 ms 
_ZNK5boost7signals6detail11call_bound0IvE6callerINS_8functionIFvvESaIvEEEEclINS1_20connection_slot_pairEEENS1_8unusableERKT_
 (lyx)
| | | | | | + 559.3 ms boost::function0<void, std::allocator<void> 
>::operator()() const (lyx)
| | | | | | | + 559.3 ms boost::_bi::bind_t<void, boost::_mfi::mf0<void, 
lyx::frontend::WorkArea>, 
boost::_bi::list1<boost::_bi::value<lyx::frontend::WorkArea*> > >::operator()() 
(lyx)
| | | | | | | | + 558.3 ms lyx::frontend::WorkArea::redraw() (lyx)
| + 288.9 ms lyx::BufferView::update(lyx::Update::flags) (lyx)
| + 123.8 ms lyx::LyXView::updateToolbars() (lyx)
| + 98.7 ms lyx::Cursor::dispatch(lyx::FuncRequest const&) (lyx)

So workarea::redraw and bufferview::update use more than 800ms, and
updateToolbars uses a bit more than the actual dispatch, but is way
below the rest.

JMarc

Reply via email to