Increase sampling time

This commit is contained in:
aniampio
2023-02-14 21:15:33 +00:00
parent 607d4dc743
commit e0274bb394
+2 -2
View File
@@ -94,7 +94,7 @@ fn make_packet_copy(packet: &SphinxPacket) -> SphinxPacket {
fn bench_loop_packet_create(c: &mut Criterion) {
let mut group = c.benchmark_group("benchmark-sphinx");
// group.sample_size(200);
// group.measurement_time(Duration::from_secs(600));
group.measurement_time(Duration::from_secs(500));
let mut rng = rand::thread_rng();
let case = BenchCase {
@@ -162,7 +162,7 @@ fn bench_loop_packet_create(c: &mut Criterion) {
fn bench_new_no_surb(c: &mut Criterion) {
let mut group = c.benchmark_group("benchmark-sphinx");
// group.sample_size(200);
// group.measurement_time(Duration::from_secs(600));
group.measurement_time(Duration::from_secs(500));
let mut rng = rand::thread_rng();
let case = BenchCase {