Furl

 view release on metacpan or  search on metacpan

author/benchmark/note.mkdn  view on Meta::CPAN

            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 revision, 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%        --



( run in 1.977 second using v1.01-cache-2.11-cpan-39bf76dae61 )