summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorPeter Hartmann <phartmann@blackberry.com>2013-05-03 15:57:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-03 23:16:08 +0200
commit1c901913c0af79b2bbde1b9da71f5267cb4fc76a (patch)
treee83c7e1c10cc6262931f1d03b9deb06cf1585bae /tests/manual
parent15da0a5af20fe6771bcb94ef8d46edbd5c8fb64c (diff)
QNetworkAccessManager: add public methods to pre-TCP/pre-SSL-connect
If an app knows it needs to connect to a host beforehand, it can "warm up" the connection cache by making DNS lookup, TCP (and if needed SSL) handshake before the actual HTTP request is sent. When the HTTP request is made, it will be considerably faster when there is already a working connection. Here are some typical results from the benchmark: * Linux desktop with Ethernet: "http://www.google.com" full request: 279 ms, pre-connect request: 61 ms, difference: 218 ms "https://www.google.com" full request: 344 ms, pre-connect request: 60 ms, difference: 284 ms * mobile device (BlackBerry 10) with Wifi: "https://www.google.com" full request: 898 ms, pre-connect request: 159 ms, difference: 739 ms "http://www.google.com" full request: 707 ms, pre-connect request: 200 ms, difference: 507 ms Task-number: QTBUG-30771 Change-Id: I3566b7f08216ab93a39e2024ae7d1ceb7ae21891 Reviewed-by: Jonas Gastal <gastal@intel.com> Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions