ckb-vm-pprof-converter

Crates.iockb-vm-pprof-converter
lib.rsckb-vm-pprof-converter
version0.200.2
created_at2023-11-22 06:30:36.258695+00
updated_at2025-07-02 07:14:36.486741+00
descriptionConvert raw data generated by ckb-vm-pprof to proto format accepted by Google's pprof tool
homepage
repository
max_upload_size
id1044910
size115,209
Mohanson (mohanson)

documentation

README

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
Commit count: 0

cargo fmt