the following is the profile i get when opening the user guide:

(full profile here: http://leuven.ecodip.net/lyx/profile.zip)

was wondering why lyx::Changes::set(lyx::Change const&, int, int)
 is called...

Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
10.00 0.03 0.03 183891 0.00 0.00 lyx::Changes::set(lyx::Change const&, int, int) 6.67 0.05 0.02 261898 0.00 0.00 lyx::DocIterator::inTexted() const 6.67 0.07 0.02 42494 0.00 0.00 lyx::DocIterator::forwardPos(bool) 3.33 0.08 0.01 209766 0.00 0.00 lyx::InsetText::getText(int) const 3.33 0.09 0.01 184108 0.00 0.00 lyx::Paragraph::setFont(int, lyx::LyXFont const&) 3.33 0.10 0.01 182921 0.00 0.00 lyx::operator==(lyx::LyXFont::FontBits const&, lyx::LyXFont::FontBits const&) 3.33 0.11 0.01 181982 0.00 0.00 lyx::Paragraph::Pimpl::insertChar(int, wchar_t, lyx::Change const&) 3.33 0.12 0.01 72431 0.00 0.00 lyx::CursorSlice::paragraph() const 3.33 0.13 0.01 47480 0.00 0.00 lyx::LyXTabular::getCellInset(unsigned int) const 3.33 0.14 0.01 47480 0.00 0.00 lyx::InsetTabular::cell(unsigned int) const 3.33 0.15 0.01 24961 0.00 0.00 lyx::LyXLex::Pimpl::nextToken() 3.33 0.16 0.01 24371 0.00 0.00 lyx::support::compare_ascii_no_case(std::string const&, std::string const&) 3.33 0.17 0.01 18227 0.00 0.00 lyx::LyXLex::Pimpl::next(bool) 3.33 0.18 0.01 14768 0.00 0.00 lyx::support::token(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_
t> > const&, wchar_t, int)
3.33 0.19 0.01 12471 0.00 0.01 lyx::DocIterator::forwardPar() 3.33 0.20 0.01 8798 0.00 0.00 lyx::Paragraph::params() const 3.33 0.21 0.01 2275 0.00 0.00 lyx::LyXLex::Pimpl::eatLine() 3.33 0.22 0.01 2000 0.01 0.01 lyx::lookupFont(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >
 const&)
3.33 0.23 0.01 1909 0.01 0.01 lyx::(anonymous namespace)::readParagraph(lyx::Buffer const&, lyx::Paragraph&, lyx::LyXLex&, ly
x::ErrorList&)
3.33 0.24 0.01 918 0.01 0.01 lyx::kb_keymap::defkey(lyx::kb_sequence*, lyx::FuncRequest const&, unsigned int) 3.33 0.25 0.01 480 0.02 0.03 bool lyx::sorted<lyx::keyword_item*, lyx::(anonymous namespace)::compare_tags>(lyx::keyword_ite
m*, lyx::keyword_item*, lyx::(anonymous namespace)::compare_tags)
3.33 0.26 0.01 79 0.13 0.13 lyx::LyXLayout::LyXLayout(lyx::LyXLayout const&) 3.33 0.27 0.01 6 1.67 1.67 lyx::frontend::QLFontInfo::QLFontInfo(lyx::LyXFont const&) 3.33 0.28 0.01 3 3.33 16.52 lyx::TocBackend::update() 3.33 0.29 0.01 3 3.33 36.27 lyx::updateLabels(lyx::Buffer const&, bool) 3.33 0.30 0.01 1 10.00 264.76 lyx::LyXFunc::dispatch(lyx::FuncRequest const&)

Reply via email to