[Qt-interest] wget vs. QHttp download
Jason H
scorp1us at yahoo.com
Fri Nov 5 01:24:24 CET 2010
I wrote my own downloader before QNAM was available. I was able to hit network
limits. When QNAM came out it had a bug that made is significantly slower, which
has been fixed in 4.6 and later.
________________________________
From: amulya rattan <talk2amulya at gmail.com>
To: "qt-interest at trolltech.com" <Qt-interest at trolltech.com>
Sent: Thu, November 4, 2010 2:08:58 PM
Subject: [Qt-interest] wget vs. QHttp download
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".
Going through wget source code doesn't provide any lead as to what "special" it
is doing. Has anyone else seen this behavior? Any pointers are appreciated.
~Amulya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101104/02566f90/attachment.html
More information about the Qt-interest-old
mailing list