Performance tunning for POE/Component::Client::HTTP
Ryan Chan <[email protected]> Wed, 9 Jun 2010 23:52:05 +0800
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
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 'http://yui.yahooapis.com/2.8.1/build/fonts/fonts-min.css'): 500 requests /sec Since ab is running as single threaded mode, but still 7-8x faster than POE/Component::Client::HTTP. Is this result normal?