#pprof #convert #format #generated #raw

app ckb-vm-pprof-converter

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

15 releases (1 stable)

Uses new Rust 2024

1.0.0 Nov 4, 2025
0.200.2 Jul 2, 2025
0.200.1 Apr 24, 2025
0.200.0 Mar 6, 2025
0.112.1 Nov 22, 2023

#16 in #pprof

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–5.5MB
~85K SLoC