Fiber LogoFiber Docs
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.

Fiber AI Assistant

Ask me anything

I can answer questions about Fiber Network using our documentation.

AI answers are based on Fiber documentation