Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59360

qt_getCanonicalFontNames takes a huge amount of time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.12.4, 5.13.1, 5.14.0 Alpha
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Windows 10, MSVC 2015.
    • Commits:
      835c3e94f6089751421a19008d442faec9649ed8 (qt/qtbase/5.12)

      Description

      Text {
          text: "foobar"
      }
      

      Profiling this code on Windows shows that qt_getCanonicalFontNames takes about 60% of the total execution time. Specifically, 48% was spent in GetFontData. This appears to be the single biggest regression for QML compared to 5.6.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              erikv Erik Verbruggen
              Votes:
              11 Vote for this issue
              Watchers:
              20 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes