in reply to fastest way to get a web page

I think you'll need to identify a little more about what the "speed issues" are. Some timings, comparisons, maybe show some code before we would be able to make any useful suggestions.


Nah! Your thinking of Simon Templar, originally played by Roger Moore and later by Ian Ogilvy

Replies are listed 'Best First'.
Re: Re: fastest way to get a web page
by chorg (Monk) on Oct 27, 2002 at 00:53 UTC
    Well I just am looking for XS modules that do what LWP does essentially. I checked out Curl::easy -- which uses libcurl to grab pages ... was wondering if there are others?

    Or to put it a different way, what alternatives are there to using LWP to get/post webdocuments inprocess?
    _______________________________________________
    "Intelligence is a tool used achieve goals, however goals are not always chosen wisely..."

      Offhand, I can only think of HTTP::GHTTP (alt.), which even provides some comparative benchmarks ...

      Benchmark: timing 1000 iterations of ghttp, lite, lwp... ghttp: 8 wallclock secs ( 0.96 usr + 1.16 sys = 2.12 CPU) lite: 21 wallclock secs ( 3.00 usr + 3.44 sys = 6.44 CPU) lwp: 18 wallclock secs ( 9.76 usr + 1.59 sys = 11.35 CPU)

      It may be a little too "lite" for your needs, though, in which case ... perhaps rolling your own with IO::Socket or -gasp- the lower level Socket and friends?

          --k.