Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0 Beta1, 6.5
-
None
-
-
21
-
d3ede38ed (dev), 62c7b68ac (tqtc/lts-6.2), 59c686080 (dev), ecfb048b4 (6.5), 77bdb9dfb (6.5)
-
Foundation PM Prioritized, 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
Issue Links
- relates to
-
QTBUG-116642 Provide a refresh mechanism for system locale data
- Reported
-
QTBUG-109201 toString() in macOS' system locale is very slow
- Open
For Gerrit Dashboard: QTBUG-104785 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
476184,7 | Darwin: Cache system locale's zero digit and invalidate on locale changes | dev | qt/qtbase | Status: MERGED | +2 | 0 |
476229,4 | Darwin: Disable QMacAutoReleasePool tracker in release builds | dev | qt/qtbase | Status: MERGED | +2 | 0 |
477142,4 | Darwin: Cache system locale's zero digit and invalidate on locale changes | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
477931,2 | Darwin: Disable QMacAutoReleasePool tracker in release builds | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
478798,2 | Darwin: Cache system locale's zero digit and invalidate on locale changes | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |