On Sat, Dec 08, 2001 at 07:24:16PM +0100, Lars Gullik Bjønnes wrote: > No, but with your profile it look as if it is the containers and tools > that create the overhead. With -O2 the case is completely different, > and "real" lyx code begin to show up.
OK, that's a good point ... I get : Buffer::parseSingleLyXformat2Token(LyXLex &, Paragraph *&, Paragraph *&, basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &, int &, unsigned int &, LyXFont &)[0x0809d9fc]: 2.9200% (2213 samples) Paragraph::setFont(int, LyXFont const &)[0x08134e30]: 2.9266% (2218 samples) LyXText::singleWidth(BufferView *, Paragraph *, int, char) const[0x081518a0]: 3.0361% (2301 samples) LyXFont::realize(LyXFont const &)[0x080feeac]: 3.5415% (2684 samples) Paragraph::Pimpl::FontTable * __lower_bound<Paragraph::Pimpl::FontTable *, Paragraph::Pimpl::FontTable, Paragraph::Pimpl::matchFT, int>(Paragraph::Pimpl::FontTable *, Paragraph::Pimpl::FontTable *, Paragraph::Pimpl::FontTable const &, Paragraph::Pimpl::matchFT, int *)[0x08332f48]: 3.6721% (2783 samples) LyXText::getFont(Buffer const *, Paragraph *, int) const[0x0815e4fc]: 4.8108% (3646 samples) LyXFont::FontBits::operator==(LyXFont::FontBits const &) const[0x080fe6e8]: 4.8939% (3709 samples) LyXFont::LyXFont(void)[0x080fe75c]: 9.1650% (6946 samples) Paragraph::getFontSettings(BufferParams const &, int) const[0x081341c8]: 11.4530% (8680 samples) regards john -- "Faced with the prospect of rereading this book, I would rather have my brains ripped out by a plastic fork." - Charles Cooper on "Business at the Speed of Thought"