ckb-vm-pprof-converter

Crates.iockb-vm-pprof-converter
lib.rsckb-vm-pprof-converter
version0.119.0
sourcesrc
created_at2023-11-22 06:30:36.258695
updated_at2024-10-25 08:56:31.833312
descriptionConvert raw data generated by ckb-vm-pprof to proto format accepted by Google's pprof tool
homepage
repository
max_upload_size
id1044910
size111,762
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