RPC API Reference
Module `Prof`
Performance profiling RPC methods
Module Prof
RPC module for profiling This module require build with pprof feature and debug symbol.
Method pprof
Collects a temporary CPU profile and writes a flamegraph SVG to disk.
Params
duration_secs-Option<u64>, Duration to profile in seconds. Defaults 10s.
Returns
path-String, Path of the generated flamegraph SVG.