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

24
pages.zh/common/gnomon.md Normal file
View File

@@ -0,0 +1,24 @@
# gnomon
> 用于给控制台日志语句添加时间戳并查找慢进程的工具。
> 更多信息请访问:<https://github.com/paypal/gnomon>。
- 使用 UNIX或 DOS管道将任何命令的 `stdout` 通过 gnomon 进行处理:
`{{npm test}} | gnomon`
- 显示自进程开始以来的秒数:
`{{npm test}} | gnomon --type=elapsed-total`
- 显示 UTC 中的绝对时间戳:
`{{npm test}} | gnomon --type=absolute`
- 使用 0.5 秒的高阈值,超过该阈值时时间戳将呈现亮红色:
`{{npm test}} | gnomon --high 0.5`
- 使用 0.2 秒的中阈值,超过该阈值时时间戳将呈现亮黄色:
`{{npm test}} | gnomon --medium {{0.2}}`