Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: fastest way to get a web page

by chorg (Monk)
on Oct 27, 2002 at 00:53 UTC ( [id://208295]=note: print w/replies, xml ) Need Help??


in reply to Re: fastest way to get a web page
in thread fastest way to get a web page

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..."

Replies are listed 'Best First'.
Re: Re: Re: fastest way to get a web page
by Kanji (Parson) on Oct 27, 2002 at 01:04 UTC

    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.


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://208295]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2025-07-11 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.