Steps to install webbench locally

PHP中文网
PHP中文网Original
2017-06-20 11:21:531595browse

Install webbench locally, the steps are as follows:

wget
tar zxvf webbench-1.5.tar.gz
make && make install

The installation is complete.

Generally we only use two parameters -c and -t, similar to the following:

webbench -c 300 -t 60 http://127.0.0.1/

-t indicates the time to run the test. If not specified, the default is 30 seconds, -c indicates The number of clients, that is, the number of concurrencies.

Install siege:

wget

tar zxf siege-2.67.tar.gz

cd siege-2.67

./configure && make && make install

siege -c 10000 -r 10 http://127.0.0.1/

-c is the amount of concurrency, -r is the number of repetitions.

The above is the detailed content of Steps to install webbench locally. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn