bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget2.0 / niwt / refactoring


From: Tim Ruehsen
Subject: Re: [Bug-wget] wget2.0 / niwt / refactoring
Date: Fri, 24 Aug 2012 17:56:32 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

Am Thursday 16 August 2012 schrieb Micah Cowan:
> On 08/16/2012 01:36 AM, Tim Ruehsen wrote:
> > It would be perfect, to have a large test suite. If someone works out a
> > test suite design for wget1, I would spend some time into the coding.
> 
> wget1 already has a test suite. It most likely needs to be expanded with
> enough tests to provide more complete coverage.

Meanwhile I am working on more test routines. So far it's only kind of unit 
testing. But after finishing that, i'll write a test small http/https server 
(using mget net routines) that could offer as many tests as we need (timeouts, 
authorization, compression, etc.).

Just a short comparison between a parallel recursive download (mget) and a 
serial one (wget):

mget -r mycompanieshomepage

==25127== HEAP SUMMARY:
==25127==     in use at exit: 105 bytes in 1 blocks
==25127==   total heap usage: 1,245 allocs, 1,244 frees, 7,045,845 bytes 
allocated

real    0m1.698s
user    0m0.004s
sys     0m0.020s


wget -r mycompanieshomepage

==25206== HEAP SUMMARY:
==25206==     in use at exit: 59,276 bytes in 544 blocks
==25206==   total heap usage: 9,241 allocs, 8,697 frees, 2,522,867 bytes 
allocated

real    0m4.317s
user    0m0.020s
sys     0m0.012s

Have a nice weekend.

Tim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]