1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
|
### 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% --
|