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

qt_getCanonicalFontNames takes a huge amount of time

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:

      Windows 10, MSVC 2015.

      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

        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:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes