Crates.io | ckb-vm-signal-profiler |
lib.rs | ckb-vm-signal-profiler |
version | 0.119.0 |
source | src |
created_at | 2023-11-22 06:31:22.075789 |
updated_at | 2024-10-25 08:56:57.03395 |
description | Linux signal based profiler for ckb-vm, note this is profiling ckb-vm itself, not the programs running in ckb-vm |
homepage | |
repository | |
max_upload_size | |
id | 1044914 |
size | 46,456 |
Signal based profiler for ckb-vm. Like gperftools, it uses a SIGPROF
signal handler to suspend running CKB-VM programs so as to gather profiling data. One advantage of this solution, is that it requires no code injections into CKB-VM. However also due to this design choice, this profiler runs on Linux only for the moment.
See here for an example on using this library.
This library inherits a lot of the signal handler related code from pprof-rs library.