[Qt-interest] wget vs. QHttp download
Thiago Macieira
thiago at kde.org
Thu Nov 4 23:53:07 CET 2010
On Thursday, 4 de November de 2010 11:08:58 amulya rattan wrote:
> Guys,
>
> Recently I have been trying to calculate the download speed for our
> network, so basically what I did was just use QHttp to download a file on
> the server and calculate the time it took to figure out the network speed.
> However, the speed estimates I got were rather off the track, which led me
> to try out wget. With wget, the speed estimates are pretty much on the
> spot. Does anyone know why such a difference exists? I understand that the
> network speed can go up and down and it could be what is happening in this
> case BUT I have tried this thing literally hundreds of times now and
> everytime its wget that gives a proper estimate. QHttp download for some
> reason is always "slower".
Hi Amulya
First of all, please stop using QHttp. Use QNetworkAccessManager like the
documentation asks you to.
Second, we need a better explanation to understand what you mean. I can reach
11-12 MB/s downloads on our office network using QNAM (100 MBit/s full-duplex).
That's the limit of the network.
Also note that the problem might be the measurement you made.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101104/4b66df5a/attachment.bin
More information about the Qt-interest-old
mailing list