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
