Bennett Helm wrote:
As promised, here's the profile for LyX-1.5 on PPC Mac. I've attached
the report text to this e-mail, and placed the QLPainter screen grab here:
<http://edisk.fandm.edu/bennett.helm/LyX/QLPainter-PPC-Mac.jpg>
Thanks you Bennett. Looks like Qt4's QPainter::drawText remains our
single point of failure on Mac.
As I said in another post, it would be very nice if you could zoom into
this Qt API function in your profile. This would help Qt developer to
optimize it for the Mac platform.
Also, I need the following node (QLPainter::text) to be opened to really
see what's going on inside:
+ 3615.6 ms lyx::frontend::QLPainter::text(int, int, wchar_t const*,
unsigned long, lyx::LyXFont const&) (lyx)
| + 40.0 ms lyx::ucs4_to_qstring(wchar_t const*, unsigned long,
QString&) (lyx)
| | + 4.1 ms lyx::ucs4_to_qstring(wchar_t const*, unsigned long,
QString&) (lyx)
| | | 3.1 ms QCharRef::operator=(QChar const&) (lyx)
| | | 1.0 ms QString::operator[](int) (lyx)
| | 3.1 ms QCharRef::operator=(QChar const&) (lyx)
| | 3.1 ms QString::operator[](int) (lyx)
| + 25.6 ms lyx::frontend::GuiFontMetrics::width(QString const&) const (lyx)
| | 9.2 ms QString::operator[](int) const (lyx)
| | 4.1 ms lyx::frontend::GuiFontMetrics::width(unsigned short) const
(lyx)
| 23.5 ms operator new(unsigned long) (libstdc++.6.dylib)
| 13.3 ms lyx::frontend::QLPainter::setQPainterPen(lyx::LColor_color,
lyx::frontend::Painter::line_style, lyx::frontend::Painter::line_width)
(lyx)
| 3.1 ms __cxa_guard_acquire (libstdc++.6.dylib)
| 3.1 ms QString::~QString [in-charge]() (lyx)
| 1.0 ms lyx::LColor::getFromLaTeXName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const (lyx)
Abdel.