in reply to Re: LWP slow downloads on windows (50 times faster?)
in thread LWP slow downloads on windows

your example returns
LWP::Simple took 1.594 seconds Size: 64230 Transfer rate: 40303.76 bytes/sec Win32::I took 4.489 seconds Size: 64230 Transfer rate: 14308.64 bytes/sec LWP::UA took 15.613 seconds Size: 64230 Transfer rate: 4113.83 bytes/sec
with perl 5.8.8.822 at win2k3 server

Replies are listed 'Best First'.
Re^3: LWP slow downloads on windows (50 times faster?)
by BrowserUk (Patriarch) on Dec 04, 2008 at 03:47 UTC

    Thank you Anonymonk.

    You at least confirmed the potential for wild variation--even if it didn't quite match my empirical evidence.

    There is something going on here that greatly (order of magnitude greatly) affects the performance of sockets, and LWP::UserAgent seems to be the loser.

    (I realise that 2 out of 2 is hardly a significant sample, but still, the trend is promising for my premise :)


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Here is my output:

      LWP::Simple took 1.406 seconds Size: 64230 Transfer rate: 45675.25 bytes/sec Win32::I took 0.618 seconds Size: 64230 Transfer rate: 103852.38 bytes/sec LWP::UA took 2.353 seconds Size: 64230 Transfer rate: 27299.07 bytes/sec
      I have tried several times and Win32::Internet always fastest.