#pprof #tool #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

12 releases (breaking)

0.200.0 Mar 6, 2025
0.119.0 Oct 25, 2024
0.117.0 Jul 30, 2024
0.115.0-rc2 Mar 21, 2024
0.112.1 Nov 22, 2023

#10 in #pprof

Download history 145/week @ 2025-02-04 5/week @ 2025-02-25 132/week @ 2025-03-04 8/week @ 2025-03-11

145 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.8–5.5MB
~87K SLoC