Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加新选项 --wall #2905

Merged
merged 10 commits into from
Oct 4, 2024
Prev Previous commit
Next Next commit
Prettified Code!
  • Loading branch information
ZhaoGuorui666 authored and actions-user committed Sep 27, 2024
commit 0966ba2100719268854f602edea742eaac85d680
4 changes: 1 addition & 3 deletions site/docs/doc/profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ profiler start --loop 1h -f /var/log/profile-%t.jfr

这个选项指定 profiling 自动在多久后停止。该选项和 `--loop` 选项的格式一致,可以是时间点,也可以是一个时间间隔。这两个选项都是用于 `start` action 而不是 `collect` action 的。可参考 [async-profiler Github Discussions](https://github.com/async-profiler/async-profiler/discussions/789) 了解更多信息。



## `--wall` 选项

通过 --wall 选项,可以同时进行 CPU 和 Wall Clock 的性能分析。这种联合分析有助于更全面地识别和理解应用程序的性能瓶颈。
Expand All @@ -365,4 +363,4 @@ Linux 平台: 这个新功能仅在 Linux 平台上有效。macOS 上的 CPU 分

```bash
profiler start -e cpu -i 10 --wall 100 -f out.jfr
```
```
2 changes: 1 addition & 1 deletion site/docs/en/doc/profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,4 @@ Performance overhead: Enabling Wall clock analysis will increase performance ove

```bash
profiler start -e cpu -i 10 --wall 100 -f out.jfr
```
```