bench: Fix for evl 5.0

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2024-04-13 20:54:46 -07:00
parent 7c1dabd9b6
commit a777426828
No known key found for this signature in database
GPG Key ID: 2FE69973CFD64832
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ portable-atomic-util = { version = "0.1.5", features = ["alloc"], optional = tru
[dev-dependencies]
futures-lite = "2.3.0"
criterion = "0.3.4"
criterion = { version = "0.3.4", default-features = false, features = ["cargo_bench_support"] }
waker-fn = "1"
[[bench]]

View File

@ -1,5 +1,5 @@
use criterion::{criterion_group, criterion_main, Criterion};
use event_listener::Event;
use event_listener::{Event, Listener};
const COUNT: usize = 8000;