add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

16
pages.zh/common/wrk.md Normal file
View File

@@ -0,0 +1,16 @@
# wrk
> HTTP 基准测试工具。
> 更多信息:<https://github.com/wg/wrk>。
- 运行一个基准测试,持续 `30` 秒,使用 `12` 个线程,并保持 `400` 个 HTTP 连接打开:
`wrk -t{{12}} -c{{400}} -d{{30s}} "{{http://127.0.0.1:8080/index.html}}"`
- 运行一个带有自定义头部的基准测试:
`wrk -t{{2}} -c{{5}} -d{{5s}} -H "{{Host: example.com}}""{{http://example.com/index.html}}"`
- 运行一个请求超时为 `2` 秒的基准测试:
`wrk -t{{2}} -c{{5}} -d{{5s}} --timeout {{2s}} "{{http://example.com/index.html}}"`