\u3000\u3000webbench\u6700\u591a\u53ef\u4ee5\u6a21\u62df3\u4e07\u4e2a\u5e76\u53d1\u8fde\u63a5\u53bb\u6d4b\u8bd5\u7f51\u7ad9\u7684\u8d1f\u8f7d\u80fd\u529b\uff0c\u4e2a\u4eba\u611f\u89c9\u8981\u6bd4Apache\u81ea\u5e26\u7684ab\u538b\u529b\u6d4b\u8bd5\u5de5\u5177\u597d\uff0c\u5b89\u88c5\u4f7f\u7528\u4e5f\u7279\u522b\u65b9\u4fbf\u3002<\/p>\n
\u3000\u30001\u3001\u9002\u7528\u7cfb\u7edf\uff1aLinux<\/p>\n
\u3000\u30002\u3001\u7f16\u8bd1\u5b89\u88c5\uff1a
\u5f15\u7528
wget http:\/\/blog.s135.com\/soft\/linux\/webbench\/webbench-1.5.tar.gz<\/a>
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install<\/p>\n
\u3000\u30003\u3001\u4f7f\u7528\uff1a
\u5f15\u7528
webbench -c 500 -t 30 http:\/\/127.0.0.1\/test.jpg<\/a>
\u3000\u3000\u53c2\u6570\u8bf4\u660e\uff1a-c\u8868\u793a\u5e76\u53d1\u6570\uff0c-t\u8868\u793a\u65f6\u95f4(\u79d2)<\/p>\n
\u3000\u30004\u3001\u6d4b\u8bd5\u7ed3\u679c\u793a\u4f8b\uff1a<\/p>\n
<\/p>\n\n\n\n Benchmarking: GET http:\/\/127.0.0.1\/test.jpg<\/a> <\/span><\/p>\n<\/p>\n \u539f\u6587:http:\/\/blog.s135.com\/post\/288\/<\/p>\n","protected":false},"excerpt":{"rendered":" \u3000\u3000webbench\u6700\u591a\u53ef\u4ee5\u6a21\u62df3\u4e07\u4e2a\u5e76\u53d1\u8fde\u63a5\u53bb\u6d4b\u8bd5\u7f51\u7ad9\u7684\u8d1f\u8f7d\u80fd\u529b\uff0c\u4e2a\u4eba\u611f\u89c9\u8981\u6bd4Apache\u81ea\u5e26\u7684ab\u538b\u529b\u6d4b\u8bd5\u5de5\u5177\u597d\uff0c\u5b89\u88c5\u4f7f\u7528\u4e5f\u7279\u522b\u65b9\u4fbf\u3002<\/p>\n \u3000\u30001\u3001\u9002\u7528\u7cfb\u7edf\uff1aLinux<\/p>\n \u3000\u30002\u3001\u7f16\u8bd1\u5b89\u88c5\uff1a <\/td>\n <\/td>\n \n\n\n\n \n\n\n\n\n\n \u5f15\u7528
Webbench – Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.<\/p>\n
500 clients, running 30 sec.<\/p>\n <\/td>\n<\/tr>\n <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u5f15\u7528
wget http:\/\/blog.s135.com\/soft\/linux\/webbench\/webbench-1.5.tar.gz<\/a>
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install<\/p>\n