Skip to content

Commit

Permalink
Remove leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnevadoc committed Nov 23, 2023
1 parent 38dd1ff commit a566667
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions src/pluto_eris/fields/fp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,16 +541,4 @@ mod test {
}
end_timer!(start);
}

#[test]
fn bench_fq_from_u16() {
let repeat = 10000000;
let mut rng = ark_std::test_rng();
let base = (0..repeat).map(|_| (rng.next_u32() % (1 << 16)) as u64);

let timer = start_timer!(|| format!("generate {} Bn256 scalar field elements", repeat));
let _res: Vec<_> = base.map(Fp::from).collect();

end_timer!(timer);
}
}
12 changes: 0 additions & 12 deletions src/pluto_eris/fields/fq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,16 +532,4 @@ mod test {
}
end_timer!(start);
}

#[test]
fn bench_fp_from_u16() {
let repeat = 10000000;
let mut rng = ark_std::test_rng();
let base = (0..repeat).map(|_| (rng.next_u32() % (1 << 16)) as u64);

let timer = start_timer!(|| format!("generate {} Bn256 scalar field elements", repeat));
let _res: Vec<_> = base.map(Fq::from).collect();

end_timer!(timer);
}
}

0 comments on commit a566667

Please sign in to comment.