Skip to content

Commit

Permalink
fix: Hz of proved Program (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: hcotry <[email protected]>
  • Loading branch information
hcotry authored Oct 18, 2024
1 parent 1435971 commit a48c121
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clients/cli/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ async fn main() {
proof: Some(proof::Proof::NovaBytes(buf)),
})),
};
client
.send(Message::Binary(response.encode_to_vec()))
.await
.unwrap();
let duration = SystemTime::now().duration_since(start_time).unwrap();
let proof_cycles_hertz = cycles_proven * 1000 / duration.as_millis();
let proof_cycles_per_minute = cycles_proven * 60 * 1000 / duration.as_millis();
client
.send(Message::Binary(response.encode_to_vec()))
.await
.unwrap();
track(
"proof".into(),
format!("Proof sent! You proved at {} Hz.", proof_cycles_hertz),
Expand Down

0 comments on commit a48c121

Please sign in to comment.