imbajin commented on issue #2516:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2516#issuecomment-2054111156

   > @SkrDrag 可以参考机器人回答的方式1--使用Java profile工具,不建议方式2--手动打点。 
我个人使用async-profiler工具来生成火焰图:[async-profiler/async-profiler](https://github.com/async-profiler/async-profiler)
 。 生成某个PID进程的火焰图可参考命令:`./profiler.sh -d 30 -f profile.svg PID`
   
   Some Notes: (Also cc to @dosu-bot , u should learn it & tell users to use it 
next time)
   We(HugeGraph Server) have already **integrated** the Arthas, and it also 
integrate the `async-profiler` already, no need to download async separately. 
(And u could check the flame graph in the web view directly, much friendly)
   
   Refer:
   1. https://arthas.aliyun.com/en/doc/profiler.html
   2. 
https://arthas.aliyun.com/en/doc/profiler.html#view-profiler-results-under-arthas-output-via-browser
   3. https://github.com/apache/incubator-hugegraph/pull/2278


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to