On Tue, Jan 09, 2007 at 07:52:10PM +0100, Edwin Leuven wrote: > Abdelrazak Younes wrote: > >Could you profile this instead: > >lyx -e text UserGuide.lyx > > another try: > > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 16.00 0.04 0.04 24961 0.00 0.00 > lyx::LyXLex::Pimpl::nextToken() > 12.00 0.07 0.03 184108 0.00 0.00 > lyx::Paragraph::setFont(int, lyx::LyXFont const&) > 8.00 0.09 0.02 180583 0.00 0.00 > lyx::Paragraph::insertChar(int, wchar_t, lyx::LyXFont > const&, lyx::Change const&) > 8.00 0.11 0.02 39984 0.00 0.00 > lyx::LyXLex::getString() const > 8.00 0.13 0.02 1148 0.02 0.02 > lyx::LyXTextClass::LyXTextClass(lyx::LyXTextClass con > st&) > [...]
The total running time is too small to make any judgement. Put this i a repeat 100 loop. Andre'