I have built timers into LWP for website performance analysis. I don't have
a copy here on this computer, but would be happy to send from work next
week, if you're interested.

I've never tried it with file uploads, but I think it would work. If I
recall correctly, it captures times for connecting, sending the request, 1st
packet received, and receiving the entire response.

Regards,
David

---
David Carter
[EMAIL PROTECTED]


> >-----Original Message-----
> >From: Randall Perry [mailto:[EMAIL PROTECTED]
> >Sent: Saturday, August 23, 2003 3:41 PM
> >To: [EMAIL PROTECTED]
> >Subject: Timer for file uploads
> >
> >Was searching through CPAN trying to find a timer that could provide
> >formatted output for elapsed time so I can time file uploads I'm
> >automating
> >with WWW::Mechanize.
> >
> >Found a timer function to use, Time::HiRes, but couldn't find anything
> >that
> >could output elapsed time in format mm:ss.
> >
> >I'm about to write my own code but wanted to ask if anyone knows a module
> >that can do this.
> >
> >BTW, it may not be apropos, but it would be cool to have a built-in timer
> >method in LWP::UserAgent so requests and posts could be timed.
> >
> >--
> >Randall Perry
> >sysTame
> >
> >Xserve Web Hosting/Co-location
> >Website Development/Promotion
> >Mac Consulting/Sales
> >
> >http://www.systame.com/
> >
> >



Reply via email to