fangmd / blogsource

6 stars 0 forks source link

web 性能测试 #66

Open fangmd opened 1 year ago

fangmd commented 1 year ago

网页性能查看

fangmd commented 1 year ago

压力测试

Webbench 做压力测试

// webbench -c 并发数 -t 运行测试时间 URL
 webbench -c 100 -t 10 http://baidu.com/

测试方法:逐渐增加并发数量,然后打开页面看是否会有卡顿,查看服务器 cpu 和内存是否正常

ab

ab

ab -t 15 -c 100 -n 1000 http://baidu.com/

image

fangmd commented 5 months ago

压测核心指标