The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

On tokuhirom's SC440

0.01 3534c7b341136a18bd52449af6e28570ca87a36f

   Rate  lwp furl curl
   lwp   792/s   -- -88% -90%
   furl 6461/s 715%   -- -15%
   curl 7587/s 857%  17%   --

0.02 fbb922531d3236b2da84acd0c22f554e61060446

            Rate       lwp http_lite      furl      curl
            lwp        823/s        --       -8%      -74%      -89%
            http_lite  896/s        9%        --      -72%      -88%
            furl      3170/s      285%      254%        --      -59%
            curl      7657/s      831%      754%      142%        --

25998b62ae12445ae0a8bdd5329ffe8f9bd71dd2

        Rate       lwp http_lite      furl      curl
        lwp        792/s        --      -25%      -76%      -91%
        http_lite 1056/s       33%        --      -68%      -88%
        furl      3326/s      320%      215%        --      -62%
        curl      8783/s     1010%      732%      164%        --

496a941ca1fd8cfcc8925c91fab501d516fdfa8e

fixed bug.

        Rate       lwp http_lite      furl      curl
        lwp        767/s        --      -27%      -88%      -91%
        http_lite 1046/s       36%        --      -84%      -88%
        furl      6461/s      742%      518%        --      -26%
        curl      8783/s     1045%      740%       36%        --

micro optimization

commit c8f4c4655966ecb1b2fef98769a72e437dd467fe
Perl/5.12.1 on x86_64-linux
Furl/0.02, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2
Server: nginx/0.8.48
--

        Rate       lwp http_lite      furl      curl
        lwp        800/s        --      -23%      -88%      -91%
        http_lite 1036/s       30%        --      -84%      -88%
        furl      6587/s      723%      536%        --      -24%
        curl      8650/s      981%      735%       31%        --

0.04

0065f2144c7636fc79ae1b30ae01c8e5f25de178
Perl/5.12.1 on x86_64-linux
Furl/0.04, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2
Server: nginx/0.8.48
--

        Rate       lwp http_lite      furl      curl
        lwp        807/s        --      -23%      -88%      -91%
        http_lite 1046/s       30%        --      -84%      -88%
        furl      6698/s      730%      540%        --      -22%
        curl      8615/s      968%      724%       29%        --

http-parser-xs

9cf2a06ee9aed52232effdeb432f5a6668f42636
Perl/5.12.1 on x86_64-linux
Furl/0.04, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2, libcurl[libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18]
Server: nginx/0.8.48
Content-Length: 2947
--

            Rate       lwp http_lite      furl      curl
lwp        800/s        --      -24%      -88%      -91%
http_lite 1047/s       31%        --      -84%      -88%
furl      6575/s      722%      528%        --      -25%
curl      8727/s      991%      734%       33%        --
same revsion, but access to real server
        9cf2a06ee9aed52232effdeb432f5a6668f42636
        Perl/5.12.1 on x86_64-linux
        Furl/0.04, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2, libcurl[libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18]
        Server: Apache
        --

        Rate       lwp http_lite      furl      curl
       lwp       111/s        --      -61%      -62%      -81%
       http_lite 288/s      159%        --       -3%      -50%
       furl      296/s      166%        3%        --      -49%
       curl      581/s      422%      102%       96%        --
1MB response
7389e930aa93b20a56eb2e7a9408c4b2ff056c8d
Perl/5.12.1 on x86_64-linux
Furl/0.04, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2, libcurl[libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18]

Date: Fri, 29 Oct 2010 11:43:37 GMT
Server: KyotoTycoon/0.8.1
Content-Length: 1000000
Client-Date: Fri, 29 Oct 2010 11:43:37 GMT
Client-Peer: 127.0.0.1:1978
Client-Response-Num: 1
--

Rate       lwp http_lite      furl      curl
lwp       74.1/s        --      -62%      -72%      -90%
http_lite  196/s      165%        --      -26%      -74%
furl       265/s      258%       35%        --      -65%
curl       760/s      926%      287%      187%        --

useragent branch.

fbe216421eaa343ed86a8a3636a9ac3925018f61
Perl/5.12.1 on x86_64-linux
Furl/0.04, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2, libcurl[libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18]
--
Connection: keep-alive
Date: Mon, 01 Nov 2010 03:16:02 GMT
Accept-Ranges: bytes
Server: nginx/0.8.48
Content-Length: 2947
Content-Type: text/html
Last-Modified: Sat, 05 Jun 2010 23:53:36 GMT
Client-Date: Mon, 01 Nov 2010 03:16:02 GMT
Client-Peer: 192.168.1.3:80
Client-Response-Num: 1
--
bufsize: 10240
--

            Rate       lwp http_lite furl_high  furl_low      curl
lwp        799/s        --      -24%      -83%      -88%      -91%
http_lite 1057/s       32%        --      -78%      -84%      -88%
furl_high 4699/s      488%      345%        --      -31%      -46%
furl_low  6762/s      746%      540%       44%        --      -22%
curl      8650/s      982%      719%       84%       28%        --

0.07

58868db2dbe06394ac6b8344fbbf47acf334daf1
Perl/5.12.1 on x86_64-linux
Furl/0.07, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2, libcurl[libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18]
--
Connection: keep-alive
Date: Tue, 02 Nov 2010 00:24:44 GMT
Accept-Ranges: bytes
Server: nginx/0.8.48
Content-Length: 2947
Content-Type: text/html
Last-Modified: Sat, 05 Jun 2010 23:53:36 GMT
Client-Date: Tue, 02 Nov 2010 00:24:44 GMT
Client-Peer: 192.168.1.3:80
Client-Response-Num: 1
--
bufsize: 10240
--

            Rate       lwp http_lite furl_high  furl_low      curl
lwp        792/s        --      -24%      -83%      -88%      -91%
http_lite 1046/s       32%        --      -78%      -84%      -88%
furl_high 4757/s      501%      355%        --      -25%      -45%
furl_low  6342/s      701%      506%       33%        --      -27%
curl      8650/s      993%      727%       82%       36%        --

kazuho

perl -Ilib benchmperl -Ilib benchmark/simple.pl                                         [~/dev/Furl] 水 17 19:05
65d1df9882c8f5330f9cc93a03722887867e303c
Perl/5.12.1 on x86_64-linux
Furl/0.13, LWP/5.837, WWW::Curl/4.14, HTTP::Lite/2.2, libcurl[libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18]
--
Connection: keep-alive
Date: Wed, 17 Nov 2010 10:05:52 GMT
Accept-Ranges: bytes
Server: nginx/0.8.48
Content-Length: 2947
Content-Type: text/html
Last-Modified: Sat, 05 Jun 2010 23:53:36 GMT
Client-Date: Wed, 17 Nov 2010 10:05:52 GMT
Client-Peer: 192.168.1.3:80
Client-Response-Num: 1
--
bufsize: 10240
--

            Rate       lwp http_lite furl_high  furl_low      curl
lwp        800/s        --      -24%      -79%      -84%      -91%
http_lite 1056/s       32%        --      -72%      -79%      -88%
furl_high 3759/s      370%      256%        --      -24%      -57%
furl_low  4978/s      522%      372%       32%        --      -43%
curl      8698/s      987%      724%      131%       75%        --