Performance Sampling
「Between pulses, insight into performance」
The /pulsegrasp command samples and analyzes server threads to generate a hotspot report, helping you locate the source of lag.
Basic usage:
/pulsegrasp [start|stop|status]
Permission:
youer.command.pulsegrasp
start
/pulsegrasp start [--interval_ms <ms>] [--depth <n>] [--top_n <n>]
Start sampling. Optional parameters (spark-style syntax):
--interval_ms <value>: sampling interval (milliseconds)--depth <value>: maximum stack-trace depth--top_n <value>: maximum number of methods per hotspot in the report
status
/pulsegrasp status
View the current sampling status; while running, shows the number of sampled ticks.
stop
/pulsegrasp stop
Stop sampling and generate the analysis report.