On Fri, Feb 08, 2008 at 01:45:34PM +0100, Edwin Leuven wrote: > after starting lyx. > > the toolbar does not flash once i close the buffer and create a new one. > > here part of the profile of launching lyx: > > =================================================== > Each sample counts as 0.01 seconds. > % cumulative self self total > time seconds seconds calls ms/call ms/call name > 33.33 0.01 0.01 257257 0.00 0.00 > lyx::KeySymbol::operator==(lyx::KeySymbol const&) const > 33.33 0.02 0.01 1238 0.01 0.01 > lyx::string_to_qkey(std::string const&) > 33.33 0.03 0.01 lyx::frontend::GuiApplication::notify(QObject*, > QEvent*) > 0.00 0.03 0.00 77788 0.00 0.00 char > lyx::support::(anonymous namespace)::ascii_tolower<char>(char) > 0.00 0.03 0.00 13013 0.00 0.00 > lyx::Lexer::Pimpl::next(bool) > 0.00 0.03 0.00 10886 0.00 0.00 > lyx::Lexer::Pimpl::getString() const > ===================================================
Well, a profile on a total time of ~30ms is not very useful. Try using 'valgrind --tool=callgrind' (or cachegrind). Andre'