mac安装webbench

安装macports

因为这里要用到ctags这个依赖,homebrew又没有,但是.我又不想源码编译

安装ctags

port search ctags
sudo port install ctags

编译安装webbench

wget http://home.tiscali.cz/cz210552/distfiles/webbench-1.5.tar.gz
tar xvzf webbench-1.5.tar.gz
cd webbench-1.5
make
sudo mkdir -pv /usr/local/man/man1
sodo make && sudo make install

测试是否安装成功

webbench --version

压力测试

webbench -c 200 -t 60 https://iluoy.com/articles
# ailuoy @ luoyangdeMacBook-Pro in ~ [8:06:43]
$ webbench -c 200 -t 60 https://iluoy.com/articles
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Only HTTP protocol is directly supported, set --proxy for others.

这就是说webbench是不支持https的...😂😂😂