apache benchmark 的簡單安裝與測試


1. 下載apache benchmark

Copy From https://blog.csdn.net/fyqaccpt96/article/details/43272001

yum install apr-util yum-utils yum-utils.noarch

mkdir /apache && cd /apache

yumdownloader httpd-tools*

rpm2cpio httpd-*.rpm | cpio -idmv

2. 進行簡單的測試:

ab -n 10000  -c 100  http://10.24.193.202/platform/runtime/sys/web/index.html#/login

# linux nginx   :Time taken for tests: 5.525 seconds

ab -n 10000  -c 100  http://10.24.193.202:5000/platform/runtime/sys/web/index.html#/login

# linux kestrel:Time taken for tests:   5.085 seconds

ab -n 10000  -c 100  http://10.24.193.201/platform/runtime/sys/web/index.html#/login

# Windows nginx:Time taken for tests: 15.421 seconds


ab -n 10000  -c 100  http://10.24.193.201:5000/platform/runtime/sys/web/index.html#/login

#windows kestrel:Time taken for tests:   10.855 seconds

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM