qt5base-lts/tests/benchmarks/network
Peter Hartmann 1c901913c0 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>
2013-06-03 23:16:08 +02:00
..
access QNetworkAccessManager: add public methods to pre-TCP/pre-SSL-connect 2013-06-03 23:16:08 +02:00
kernel tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
socket Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
ssl Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
network.pro compile fix for compiling without ssl 2011-08-04 15:01:11 +02:00