#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)

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

Download history 155/week @ 2024-07-29 99/week @ 2024-08-26 100/week @ 2024-09-02 148/week @ 2024-09-16 7/week @ 2024-09-23 4/week @ 2024-09-30 1/week @ 2024-10-07 12/week @ 2024-10-14 113/week @ 2024-10-21 7/week @ 2024-10-28 29/week @ 2024-11-04

161 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.6–5MB
~79K SLoC