Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
6.6.0
-
-
838714136 (dev), 6df9074a1 (6.7), 7de26479e (6.6), 070793083 (tqtc/lts-6.5)
-
Foundation PM Staging
Description
A simple reproducer:
QElapsedTimer timer; timer.start(); QSslSocket s; qDebug() << timer.elapsed();
According to the original reporter, timer reports ~500ms and the reason is the fact that
QWinTimeZonePrivate::availableTimeZoneIds()
is being called ~5000 times.
There has been a patch here:
https://codereview.qt-project.org/c/qt/qtbase/+/518217
The original reporter tested it, and reported back that the patch only fixes release build of application. The debug build still suffers from long instantiation time.
On the other hand, OpenSSL seems to work fine. And it can be a schannel issue.
Attachments
For Gerrit Dashboard: QTBUG-120682 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
529365,2 | QWinTimeZonePrivate::availableTimeZoneIds(): cache result | dev | qt/qtbase | Status: MERGED | +2 | 0 |
534220,2 | QWinTimeZonePrivate::availableTimeZoneIds(): cache result | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
534733,2 | QWinTimeZonePrivate::availableTimeZoneIds(): cache result | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
534816,2 | QWinTimeZonePrivate::availableTimeZoneIds(): cache result | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |