自动炮
写在节点A HTTP / 1.1基准工具,通过极大地激发和 ,与HTTP流水线和HTTPS支持。 在我的盒子,自走炮可以产生更多的负荷比wrk和wrk2 ,见的更多细节。
安装
npm i autocannon -g
或如果您想使用或作为依赖项:
npm i autocannon --save
用法
命令行
Usage: autocannon [opts] URL
URL is any valid http or https url.
If the PORT environment variable is set, the URL can be a path. In that case 'http://localhost:$PORT/path' will be used as the URL.
Available options:
-c/--connections NUM
评论0
最新资源