Asger Ottar Alstrup wrote:
> On windows, you can try Glowcode to profile. There is a free trial for
> download at www.glowcode.com.
> 
> Regards,
> Asger
> 
> 

Thanks for the hint Asger, a very nice tool, and it also works
with the expess edition.

Here the top 50 time-waster (number in seconds):

   QEventDispatcherWin32::processEvents, 18.430434
   QRasterPaintEngine::drawTextItem, 3.793952
   qBlue, 3.678742
   QRasterBuffer::resetBuffer, 2.235443
   std::_Iterator_base::_Adopt, 2.210946
   std::_Iterator_base::~_Iterator_base, 2.157466
   std::_Iterator_base::_Orphan_me, 2.009837
   std::_Iterator_base::operator=, 1.719846
   draw_text_item_win, 1.275722
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> >::_Lbound, 
1.275005
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> >::_Key, 
1.029959
   std::_Debug_lt_pred<std::less<unsigned short>,unsigned short,unsigned 
short>, 0.758337
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> >::find, 
0.739501
   std::_Iterator_base::_Iterator_base, 0.721590
   QLFontInfo::width, 0.627622
   std::vector<char,std::allocator<char> >::operator[], 0.569625
   comp_func_solid_Source, 0.553122
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> 
>::const_iterator::const_iterator, 0.529341
   std::less<unsigned short>::operator(), 0.440876
   std::vector<char,std::allocator<char> >::size, 0.417735
   QRasterPaintEngine::begin, 0.397107
   Paragraph::getChar, 0.396300
   qFree, 0.393700
   
std::_Lower_bound<std::_Vector_const_iterator<InsetList::InsetTable,std::allocator<InsetList::InsetTable>
 >,InsetList::InsetTable,int,`anonymous namespace'::InsetTablePosLess>, 0.388038
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> >::_Myval, 
0.355330
   blend_color_generic, 0.347502
   
std::_Debug_order_single2<std::_Vector_const_iterator<InsetList::InsetTable,std::allocator<InsetList::InsetTable>
 >,`anonymous namespace'::InsetTablePosLess>, 0.342669
   `anonymous namespace'::RowPainter::paintChars, 0.326915
   font_metrics::width, 0.306765
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> >::_Isnil, 
0.296693
   comp_func_Source, 0.288544
   std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0>::_Kfn, 0.287993
   LyXText::singleWidth, 0.281800
   std::_Tree<std::_Tmap_traits<unsigned short,int,std::less<unsigned 
short>,std::allocator<std::pair<unsigned short const ,int> >,0> 
>::iterator::iterator, 0.271955
   QBrush::cleanUp, 0.267401
   QFontEngineWin::stringToCMap, 0.264236
   QLPainter::text, 0.258427
   
std::_Debug_order_single<std::_Vector_const_iterator<InsetList::InsetTable,std::allocator<InsetList::InsetTable>
 >,`anonymous namespace'::InsetTablePosLess>, 0.258141
   `anonymous namespace'::RowPainter::paintText, 0.250770
   FontLoader::fontinfo, 0.246634
   QBrush::init, 0.246189
   Paragraph::getFontSettings, 0.241387
   QPainter::drawText, 0.215494
   std::_Iterator_base::_Iterator_base, 0.211553
   QPainter::begin, 0.211003
   Paragraph::fontSpan, 0.210467
   font_metrics::fontencoding, 0.201893
   QPainter::QPainter, 0.201076
   LyXText::rowBreakPoint, 0.199032
   QBasicAtomic::deref, 0.193169


Reply via email to