Skip to content

Commit ed10935

Browse files
committed
Fixes
1 parent ee1e312 commit ed10935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

neqo-http3/benches/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub fn simulated(c: &mut Criterion) {
114114
let name = format!("simulated/{streams}-streams/each-{data_size}-bytes");
115115
group.throughput(Throughput::Bytes((streams * data_size) as u64));
116116
group.bench_function(&name, |b| {
117-
b.iter_custom(|iters| (0..iters).map(|_| setup_fn(streams, data_size).run()).sum());
117+
b.iter_custom(|iters| (0..iters).map(|_| setup_fn(streams, data_size).run()).sum::<Duration>());
118118
});
119119
}
120120
group.finish();

0 commit comments

Comments
 (0)