model: Measure keygen and prover separately

This commit is contained in:
Jack Grigg 2020-11-12 15:27:46 +00:00
parent 236b3a6692
commit 37c4927dac
1 changed files with 3 additions and 0 deletions

View File

@ -227,6 +227,9 @@ fn main() {
// Initialize the proving key
let pk = keygen(&params, &empty_circuit).expect("keygen should not fail");
println!("[Keygen] {}", recorder);
recorder.clear();
let circuit: MyCircuit<Fp> = MyCircuit {
a: Some(Fp::random()),
k,