Skip to content

Commit

Permalink
Remove the benchmark for lazy generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVeryDarkness committed Oct 14, 2024
1 parent 36f5b81 commit 1bf8adf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benches/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ fn file(c: &mut Criterion) {
}))(c);
}

#[allow(dead_code)]
fn lazy(c: &mut Criterion) {
(template("lazy-short", COUNT, || {
BufReader::new(LazyWriter::<false>(0..COUNT as i32, Vec::new()))
Expand All @@ -154,5 +155,5 @@ fn lazy(c: &mut Criterion) {
}))(c);
}

criterion_group!(benches, cursor, file, lazy);
criterion_group!(benches, cursor, file);
criterion_main!(benches);

0 comments on commit 1bf8adf

Please sign in to comment.