ckb-vm-pprof-converter

Crates.iockb-vm-pprof-converter
lib.rsckb-vm-pprof-converter
version0.116.1
sourcesrc
created_at2023-11-22 06:30:36.258695
updated_at2024-05-11 09:52:50.184712
descriptionConvert raw data generated by ckb-vm-pprof to proto format accepted by Google's pprof tool
homepage
repository
max_upload_size
id1044910
size112,009
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