Re: Performance tunning for POE/Component::Client::HTTP

2010-06-11 Thread Rocco Caputo
It's not unheard of for Perl code to be 10x slower (or more) than C. Still, a bit of Devel::NYTProf and optimization may be in order. Is ab pre-resolving and caching the host address? I'm pretty sure the Perl version isn't optimized for benchmarking loads from a single address, but if

Performance tunning for POE/Component::Client::HTTP

2010-06-09 Thread Ryan Chan
Hello, I have a simple code at: http://pastebin.com/KeU4XANP This script down a small CSS file from Yahoo CDN for 1000 times, I benchmarked this script with ApacheBench(ab) POE/Component::Client::HTTP: 70 requests / sec ab (ab -n 1000 -c 100