From 0966ba2100719268854f602edea742eaac85d680 Mon Sep 17 00:00:00 2001 From: ZhaoGuorui666 Date: Fri, 27 Sep 2024 13:07:45 +0000 Subject: [PATCH] Prettified Code! --- site/docs/doc/profiler.md | 4 +--- site/docs/en/doc/profiler.md | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/site/docs/doc/profiler.md b/site/docs/doc/profiler.md index 8ff56e81b46..e7055dadd87 100644 --- a/site/docs/doc/profiler.md +++ b/site/docs/doc/profiler.md @@ -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 的性能分析。这种联合分析有助于更全面地识别和理解应用程序的性能瓶颈。 @@ -365,4 +363,4 @@ Linux 平台: 这个新功能仅在 Linux 平台上有效。macOS 上的 CPU 分 ```bash profiler start -e cpu -i 10 --wall 100 -f out.jfr -``` \ No newline at end of file +``` diff --git a/site/docs/en/doc/profiler.md b/site/docs/en/doc/profiler.md index 01f699e27de..69f225e2b59 100644 --- a/site/docs/en/doc/profiler.md +++ b/site/docs/en/doc/profiler.md @@ -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 -``` \ No newline at end of file +```