summaryrefslogtreecommitdiffstats
path: root/third_party/rust/neqo-transport/benches/rx_stream_orderer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/neqo-transport/benches/rx_stream_orderer.rs')
-rw-r--r--third_party/rust/neqo-transport/benches/rx_stream_orderer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/rust/neqo-transport/benches/rx_stream_orderer.rs b/third_party/rust/neqo-transport/benches/rx_stream_orderer.rs
index 0a1e763e97..d58e11ee86 100644
--- a/third_party/rust/neqo-transport/benches/rx_stream_orderer.rs
+++ b/third_party/rust/neqo-transport/benches/rx_stream_orderer.rs
@@ -11,14 +11,14 @@ fn rx_stream_orderer() {
let mut rx = RxStreamOrderer::new();
let data: &[u8] = &[0; 1337];
- for i in 0..100000 {
+ for i in 0..100_000 {
rx.inbound_frame(i * 1337, data);
}
}
fn criterion_benchmark(c: &mut Criterion) {
c.bench_function("RxStreamOrderer::inbound_frame()", |b| {
- b.iter(rx_stream_orderer)
+ b.iter(rx_stream_orderer);
});
}