Skip to content

Commit

Permalink
Update book/writing-programs/cycle-tracking.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris T. <ctian.2001@gmail.com>
  • Loading branch information
nhtyy and ctian1 committed Nov 25, 2024
1 parent 24b650d commit 8991870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/writing-programs/cycle-tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This will log the cycle count for `block name` and include it in the `ExecutionR

### Profiling a ZKVM program

Profiling a zkvm program is a good way to get an understanding of what is bottlenecking your program. Note only one program may be profiled at a time.
Profiling a zkVM program produces a profile ([example link](https://share.firefox.dev/3Om1pzz)) which makes it easy to examine program performance and see exactly where exactly VM cycles are being spent without needing to modify the program at all.

To profile a program, you simply need to:
1. Enable the profiling feature for `sp1-sdk` in `script/Cargo.toml`
Expand Down

0 comments on commit 8991870

Please sign in to comment.