|
From: | Gisle Vanem |
Subject: | Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism |
Date: | Thu, 30 Apr 2015 16:29:55 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 |
Tim Ruehsen wrote:
BTW, 1000 cycles on a GHz CPU is 1 micro second. How much does it influence the overall download duration for your use case ? How often is SSL_Read called in a real life use-case (e.g. downloading 1GB on a 2/10/50/100 mbps connection).
Hard to tell since I didn't find any large files I could D/L via SSL. You have one? But some quick tests (only a 48 kByte file): wget -q -O test_ssl.html https://www.ssllabs.com/ssltest/viewMyClient.html Elapsed: 0:00:02,35 wget -qT0 -O test_ssl.html https://www.ssllabs.com/ssltest/viewMyClient.html Elapsed: 0:00:01,86 curl -so test_ssl.html https://www.ssllabs.com/ssltest/viewMyClient.html Elapsed: 0:00:01,79 '-T0' shouldn't create any threads (like libcurl does). Hence the same speed (but depends on many factors). BTW. the timer is in my 4NT shell and both Wget and curl uses exactly the same OpenSSL DLLs (all built with the same 32-bit MSVC v18). Will investigate further. -- --gv
[Prev in Thread] | Current Thread | [Next in Thread] |