Bennett Helm wrote:
Abdel (et al.) -
Here's a new profile for 1.5 on Mac. I've also put a screen shot of
Shark on my server:
<http://edisk.fandm.edu/bennett.helm/LyX/LyX-1.5-Mac-Profile.jpg>
Could you please make a zoom on the QLPainter::text() method like you
did in your last profile?
As in the last one, the text version is not useful here because the
details on where the time is spent inside QLPainter::text() is not there:
+ 20096.7 ms lyx::frontend::QLPainter::text(int, int, wchar_t const*,
| + 231.1 ms lyx::ucs4_to_qstring(wchar_t const*, unsigned long,
| | + 57.2 ms QString::operator[](int) (lyx)
| | | 6.1 ms QString::operator[](int) (lyx)
| | + 44.0 ms QCharRef::operator=(QChar const&) (lyx)
| | | 6.1 ms QCharRef::operator=(QChar const&) (lyx)
| + 152.5 ms lyx::frontend::GuiFontMetrics::width(QString const&) const
| | 26.6 ms QString::operator[](int) const (lyx)
| | 20.5 ms lyx::frontend::GuiFontMetrics::width(unsigned short) const
| | + 1.0 ms lyx::frontend::GuiFontMetrics::width(QString const&) const
| | | 1.0 ms QString::operator[](int) const (lyx)
| 120.8 ms operator new(unsigned long) (libstdc++.6.dylib)
| + 65.5 ms QString::~QString [in-charge]() (lyx)
| | 4.1 ms QString::~QString [in-charge]() (lyx)
| 22.5 ms lyx::LyXFont::realColor() const (lyx)
| 19.5 ms lyx::frontend::QLPainter::setQPainterPen(lyx::LColor_color,
lyx::frontend::Painter::line_style, lyx::frontend::Painter::line_width)
| 17.4 ms __cxa_guard_acquire (libstdc++.6.dylib)
| + 6.1 ms wchar_t* std::vector<wchar_t, std::allocator<wchar_t>
| | 4.1 ms lyx::LyXFont::realShape() const (lyx)
| | 2.0 ms lyx::frontend::GuiFontLoader::fontinfo(lyx::LyXFont const&)
| 4.1 ms lyx::BufferView::menuInsertLyXFile(std::basic_string<char,
| 2.0 ms lyx::LyXFont::realShape() const (lyx)
| 2.0 ms lyx::frontend::GuiFontLoader::fontinfo(lyx::LyXFont const&)
| 1.0 ms lyx::cap::cutSelection(lyx::LCursor&, bool, bool) (lyx)
| 1.0 ms lyx::BufferView::dispatch(lyx::FuncRequest const&) (lyx)
| 1.0 ms lyx::BufferView::updateScrollbar() (lyx)
| 1.0 ms lyx::BufferView::loadLyXFile(std::basic_string<char,
| 1.0 ms lyx::BufferView::BufferView[in-charge]() (lyx)
+ 630.2 ms lyx::LyXText::getFont(lyx::Buffer const&, lyx::Paragraph
...