#pprof #tool #converter

app ckb-vm-pprof-converter

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

13 releases (breaking)

Uses new Rust 2024

new 0.200.1 Apr 24, 2025
0.200.0 Mar 6, 2025
0.121.0 Feb 5, 2025
0.119.0 Oct 25, 2024
0.112.1 Nov 22, 2023

#12 in #pprof

Download history 75/week @ 2025-01-30 70/week @ 2025-02-06 1/week @ 2025-02-20 10/week @ 2025-02-27 133/week @ 2025-03-06 1/week @ 2025-03-13

855 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
~88K SLoC