diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-12-01 17:36:15 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-02-11 15:38:17 +0100 |
commit | 6e89ed5a3c13c15b4e62eda7cf46acd8793e84f8 (patch) | |
tree | c63ef434c0e5ac161ccc12ba2029f9b948675938 /src/plugins/platforms/direct2d | |
parent | 6ec3321875b9fb2f72cc875ba191aa8123e7d5a5 (diff) |
Add a shortcut in QDateTimeParser::findTimeZone for UTC
In a small example program using HTTPS (on Windows with Schannel) >40%
of the time was spent initializing the backend, attempting to find the
time zone used in various certificates.
By adding an early check to see if the requested time zone is UTC (or an
alias ('Z')) we can skip most of the lookup that was required.
In the example program this cut away ~200ms of a total of ~550ms.
Change-Id: I4d29568653e02b64feebbf329469899eb7be1494
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/platforms/direct2d')
0 files changed, 0 insertions, 0 deletions