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

[REGR:5->6] Performance regression in QLocale on macOS

    XMLWordPrintable

Details

    • macOS
    • 21
    • Foundation Sprint 76, Foundation Sprint 77, Foundation Sprint 78, Foundations Sprint 79

    Description

      On macOS with qt6 there is a performance regression in the method QLocale::toString(QDate).

      macOS qt5: 0.000762 msecs per iteration
      macOS qt6:  0.32 msecs per iteration

      Test code is (see also attached project):

      QLocale locale = QLocale::system();    
      QDate curDate = QDate::currentDate();    
      QBENCHMARK(locale.toString(curDate, "dd.MM.yyyy"));
      

      Attachments

        Activity

          People

            Eddy Edward Welbourne
            lsbts1291 Lorenzo Sinigaglia
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: