mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-05 20:10:32 +00:00
model: Measure keygen and prover separately
This commit is contained in:
parent
236b3a6692
commit
37c4927dac
1 changed files with 3 additions and 0 deletions
|
|
@ -227,6 +227,9 @@ fn main() {
|
||||||
// Initialize the proving key
|
// Initialize the proving key
|
||||||
let pk = keygen(¶ms, &empty_circuit).expect("keygen should not fail");
|
let pk = keygen(¶ms, &empty_circuit).expect("keygen should not fail");
|
||||||
|
|
||||||
|
println!("[Keygen] {}", recorder);
|
||||||
|
recorder.clear();
|
||||||
|
|
||||||
let circuit: MyCircuit<Fp> = MyCircuit {
|
let circuit: MyCircuit<Fp> = MyCircuit {
|
||||||
a: Some(Fp::random()),
|
a: Some(Fp::random()),
|
||||||
k,
|
k,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue