📜  节点负载测试检查 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:23.096000             🧑  作者: Mango

代码示例1
$ loadtest http://localhost:7357/ -t 20 -c 10 --keepalive --rps 2000
...
Requests per second: 1950

Percentage of the requests served within a certain time
  50%      1 ms
  90%      2 ms
  95%      2 ms
  99%      7 ms
 100%      20 ms (longest request)