#pprof #proto #data #format #convert #raw #ckb-vm-pprof

app ckb-vm-pprof-converter

Convert raw data generated by ckb-vm-pprof to proto format accepted by Google's pprof tool

10 releases (breaking)

new 0.119.0 Oct 25, 2024
0.118.0-rc1 Aug 28, 2024
0.117.0 Jul 30, 2024
0.115.0-rc2 Mar 21, 2024
0.112.1 Nov 22, 2023

#12 in #pprof

37 downloads per month

MIT license

99KB
2.5K SLoC

ckb-vm-pprof-converter

This project converts raw data emitted by ckb-vm-pprof to profile.proto format supported by pprof for detailed analysis.

Usage

Follow the steps from ckb-vm-pprof, but instead of generating flamegraphs at the last step, use:

cargo run -- --bin res/fib | ckb-vm-pprof-converter

This will generate a output.pprof file in local folder, which you can then load to pprof:

pprof res/fib output.pprof

Dependencies

~2.7–5MB
~79K SLoC