Abdelrazak Younes wrote:
Could you profile this instead:
lyx -e text UserGuide.lyx

then you get this:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
100.00 0.01 0.01 1 10.00 10.00 lyx::frontend::GuiWorkArea::doGreyOut(lyx::frontend::
QLPainter&)
0.00 0.01 0.00 232824 0.00 0.00 lyx::QLyXKeySym::operator==(lyx::LyXKeySym const&) co
nst
0.00 0.01 0.00 54206 0.00 0.00 char lyx::support::(anonymous namespace)::ascii_tolow
er<char>(char)
0.00 0.01 0.00 39471 0.00 0.00 boost::filesystem::basic_path<std::string, boost::fil
esystem::path_traits>::m_append(char)
0.00 0.01 0.00 16650 0.00 0.00 lyx::support::lowercase(wchar_t) 0.00 0.01 0.00 14757 0.00 0.00 lyx::support::token(std::basic_string<wchar_t, std::c
har_traits<wchar_t>, std::allocator<wchar_t> > const&, wchar_t, int)
0.00 0.01 0.00 12878 0.00 0.00 lyx::MenuItem::shortcut() const 0.00 0.01 0.00 10314 0.00 0.00 lyx::support::compare_no_case(std::basic_string<wchar _t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<wchar_t, std::char_trait
s<wchar_t>, std::allocator<wchar_t> > const&)
0.00 0.01 0.00 8461 0.00 0.00 lyx::MenuItem::~MenuItem() 0.00 0.01 0.00 6961 0.00 0.00 lyx::support::compare_ascii_no_case(std::string const
&, std::string const&)
0.00 0.01 0.00 6283 0.00 0.00 lyx::FuncStatus::enabled() const 0.00 0.01 0.00 5351 0.00 0.00 lyx::LyXLex::Pimpl::next(bool)
  0.00      0.01     0.00     5305     0.00     0.00  lyx::LyX::ref()
0.00 0.01 0.00 5279 0.00 0.00 lyx::(anonymous namespace)::compare_tags::operator()(
lyx::keyword_item const&, lyx::keyword_item const&) const
0.00 0.01 0.00 5029 0.00 0.00 lyx::LyXLex::Pimpl::getString() const 0.00 0.01 0.00 4585 0.00 0.00 lyx::frontend::WorkArea::bufferView() 0.00 0.01 0.00 4271 0.00 0.00 lyx::FuncStatus::unknown() const 0.00 0.01 0.00 3915 0.00 0.00 lyx::utf8_to_ucs4(std::string const&, std::basic_stri
ng<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)
0.00 0.01 0.00 3915 0.00 0.00 lyx::from_utf8(std::string const&) 0.00 0.01 0.00 3661 0.00 0.00 lyx::LyXLex::next(bool) 0.00 0.01 0.00 3532 0.00 0.00 lyx::IconvProcessor::convert(char const*, unsigned in
t, char*, unsigned int)
0.00 0.01 0.00 3265 0.00 0.00 lyx::LyXLex::getString() const
  0.00      0.01     0.00     3104     0.00     0.00  lyx::utf8ToUcs4()
0.00 0.01 0.00 3104 0.00 0.00 lyx::LyX::iconvProcessor() 0.00 0.01 0.00 2788 0.00 0.00 lyx::FuncStatus::FuncStatus() 0.00 0.01 0.00 2628 0.00 0.00 lyx::Menu::addWithStatusCheck(lyx::MenuItem const&) 0.00 0.01 0.00 2421 0.00 0.00 lyx::QLyXKeySym::isOK() const 0.00 0.01 0.00 2364 0.00 0.00 lyx::kb_keymap::kb_key::~kb_key() 0.00 0.01 0.00 2363 0.00 0.00 std::_Rb_tree<lyx::kb_action, std::pair<lyx

Reply via email to