From e0274bb394530a809d20be1ae64d315f0755383f Mon Sep 17 00:00:00 2001 From: aniampio Date: Tue, 14 Feb 2023 21:15:33 +0000 Subject: [PATCH] Increase sampling time --- common/nymsphinx/benches/benchmarks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/nymsphinx/benches/benchmarks.rs b/common/nymsphinx/benches/benchmarks.rs index 20ea7fa3aa..1e2555a089 100644 --- a/common/nymsphinx/benches/benchmarks.rs +++ b/common/nymsphinx/benches/benchmarks.rs @@ -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 {