Skip to content

Commit

Permalink
Add initial support to profile guest runs (risc0#274)
Browse files Browse the repository at this point in the history
* Add initial support to profile guest runs

This is accessible with the --prof-out option of r0vm, or by using risc0_zkvm::host::profiler::Profiler.

It produces output in a format suitable for use with google's pprof, but does not yet
supply full stack traces.
  • Loading branch information
shkoo authored Sep 13, 2022
1 parent 9492ede commit 9c811c3
Show file tree
Hide file tree
Showing 22 changed files with 1,216 additions and 126 deletions.
4 changes: 2 additions & 2 deletions Cargo-guest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ version = 3

[[package]]
name = "anyhow"
version = "1.0.63"
version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a26fa4d7e3f2eebadf743988fc8aec9fa9a9e82611acafd77c1462ed6262440a"
checksum = "b9a8f622bcf6ff3df478e9deba3e03e4e04b300f8e6a139e192c05fa3490afc7"

[[package]]
name = "array-init"
Expand Down
Loading

0 comments on commit 9c811c3

Please sign in to comment.