mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
ab: update Chinese translation (#7148)
This commit is contained in:
parent
4bae21a35b
commit
807a6d07c5
1 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# ab
|
# ab
|
||||||
|
|
||||||
> Apache 基准测试工具.最简单的压力测试工具。
|
> Apache 基准测试工具。
|
||||||
> 更多信息:<https://httpd.apache.org/docs/current/programs/ab.html>.
|
> 更多信息:<https://httpd.apache.org/docs/current/programs/ab.html>.
|
||||||
|
|
||||||
- 向目标 URL 执行 100 次 HTTP GET 请求:
|
- 向目标 URL 执行 100 次 HTTP GET 请求:
|
||||||
|
@ -11,7 +11,11 @@
|
||||||
|
|
||||||
`ab -n {{100}} -c {{10}} {{url}}`
|
`ab -n {{100}} -c {{10}} {{url}}`
|
||||||
|
|
||||||
- 使用 keep alive:
|
- 使用来自文件的 JSON 负载对 URL 执行 100 个 HTTP POST 请求:
|
||||||
|
|
||||||
|
`ab -n {{100}} -T {{application/json}} -p {{path/to/file.json}} {{url}}`
|
||||||
|
|
||||||
|
- 使用 HTTP [K]eep Alive,即在一个 HTTP 会话中执行多个请求:
|
||||||
|
|
||||||
`ab -k {{url}}`
|
`ab -k {{url}}`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue