1 Star 0 Fork 11

fly2006zhao / php-stress-tester

forked from 罗晓俊 / php-stress-tester 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

php-stress-tester

Description

A simple stress tester based on swoole coroutine.

Requirements

  1. Swoole2.1.0+ (编译时请添加参数 --enable-openssl --enable-coroutine)
  2. PHP7.0+ (请使用稳定版,经测试php7.2.0beta3下有内存泄漏问题)

Usage

php start.php 100 1000 www.baidu.com / 443 1 1

Output

测试中...
最大请求并发: 100
请求并发: 100
请求总数: 1000
平均耗时: 55.205963850021毫秒
最大耗时: 180.87291717529毫秒
最小耗时: 39.553880691528毫秒
成功请求总数: 1000
成功率: 100%
成功平均耗时: 55.205963850021毫秒
成功最大耗时: 180.87291717529毫秒
成功最小耗时: 39.553880691528毫秒
失败请求总数: 0
失败率: 0%
失败平均耗时: 0毫秒
失败最大耗时: 0毫秒
失败最小耗时: 0毫秒
平均QPS: 1000
内存占用: 1938.416KB

Arguments

  1. Concurrency
  2. Requests
  3. Hostname
  4. Uri
  5. Port
  6. SSL
  7. Concurrency Step
  8. Memory Limit

空文件

简介

基于Swoole协程的HTTP压力测试工具 展开 收起
PHP
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/fly2006/php-stress-tester.git
git@gitee.com:fly2006/php-stress-tester.git
fly2006
php-stress-tester
php-stress-tester
master

搜索帮助