Changelog
Release Version: v0.14.2-pb6-pprof | Release Date: Feb 06, 2025
Profiling configure
Enable profiling flamegraph:
ZO_PROF_PPROF_ENABLED = true
ZO_PROF_PPROF_FLAMEGRAPH_PATH = ""
Default path is /data/flamegraph.svg
, we can directly view the SVG in browser.
Enable profiling with protobuf format:
ZO_PROF_PPROF_PROTOBUF_ENABLED = true
ZO_PROF_PPROF_FLAMEGRAPH_PATH = ""
Default path is /data/flamegraph.svg.pb
We can use pprof /data/flamegraph.svg.pb
to view it.