$ wrk --help Usage: wrk <options> <url> Options: -c, --connections <N> Connections to keep open # 跟服务器建立并保持的TCP连接数量 -d, --duration <T> Duration of test# 压测时间 -t, --threads <N> Number of threads to use # 使用多少个线程进行压测
Numeric arguments may include a SI unit (1k, 1M, 1G) # 代表数字参数,支持国际单位 (1k, 1M, 1G) Time arguments may include a time unit (2s, 2m, 2h) # 代表时间参数,支持时间单位 (2s, 2m, 2h)