Well actually, it does not need to be a curl module. Anything that can
provide the breakup of where the time is spent (curl time_connect,
time_namelookup, time_starttransfer, speed_download and similar) is
sufficient.

~Unknown


On Wed, May 28, 2014 at 10:32 PM, Unknown User
<knowsuperunkn...@gmail.com>wrote:

> I see a lot of modules for curl, like LWP::Curl, Net::Curl, WWW::Curl etc.
> I wonder which of these will most closely mimic the functions provided by
> the curl command?
> For example, this curl command:
>
> curl -o mysite.com.out -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
> rv:29.0) Gecko/20100101 Firefox/29.0" -b
> "XP:ca1210606c6ddacbf323adf832dac76c" -b
> "XF:ca1210606c6ddacbf323adf832dac76c" -c $HOME/.curlcookie -w
> "Start:%{time_starttransfer}\nSpeed:%{speed_download}\nConnect:%{time_connect}\nCode:%{http_code}\n"
> "http://www.mysite.com/index.phpl";
>
> I need something that can provide the time_starttransfer, speed_download
> and other similar metrics provided by curl. I may also have to do a post or
> get method and if post, provide a data file (can do this in lap, but i am
> not sure if i can get the time's split up as done by curl)
>
>
>
>
> ~Unknown
>
>

Reply via email to