diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-11 16:13:13 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-13 10:55:06 (GMT) |
commit | dbcfac879e8a1ee6ba882585872c5913c131957a (patch) | |
tree | 33d04e7e0bbf5219e75ad482e2f5cd92271c1bcf /src/network/access/access.pri | |
parent | c66dfc7bf1ae04bdcee9675db95a4787ba4ede69 (diff) | |
download | Qt-dbcfac879e8a1ee6ba882585872c5913c131957a.zip Qt-dbcfac879e8a1ee6ba882585872c5913c131957a.tar.gz Qt-dbcfac879e8a1ee6ba882585872c5913c131957a.tar.bz2 |
Introduce QFileNetworkReply in QNetworkAccessManager
The QFileNetworkReply is a wrapper around QFile that
has therefore similar performance. This avoids
the usage of the unperformant QNetworkAccessFileBackend.
The benchmark qfile_vs_qnetworkaccessmanager shows
that the QFileNetworkReply's performance is better
than 0.9x of QFile compared to QNetworkAccessFileBackend
which had about 0.5x of QFile.
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access/access.pri')
-rw-r--r-- | src/network/access/access.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/access.pri b/src/network/access/access.pri index edc1b63..aa36890 100644 --- a/src/network/access/access.pri +++ b/src/network/access/access.pri @@ -7,6 +7,7 @@ HEADERS += access/qftp.h \ access/qhttpnetworkreply_p.h \ access/qhttpnetworkconnection_p.h \ access/qhttpnetworkconnectionchannel_p.h \ + access/qfilenetworkreply_p.h \ access/qnetworkaccessmanager.h \ access/qnetworkaccessmanager_p.h \ access/qnetworkaccesscache_p.h \ @@ -38,6 +39,7 @@ SOURCES += access/qftp.cpp \ access/qhttpnetworkreply.cpp \ access/qhttpnetworkconnection.cpp \ access/qhttpnetworkconnectionchannel.cpp \ + access/qfilenetworkreply.cpp \ access/qnetworkaccessmanager.cpp \ access/qnetworkaccesscache.cpp \ access/qnetworkaccessbackend.cpp \ |