Init. Tested against cargo bench, the single-threaded consumer is confirmed working.
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
[package]
|
||||
name = "epoll-perf"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.28", features = ["derive"] }
|
||||
nix = { version = "0.29.0", features = ["event", "fs", "process", "signal", "zerocopy", "poll"] }
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.140"
|
||||
serde_toml = "0.0.1"
|
||||
serde_yaml = "0.9.34"
|
||||
toml = "0.8.20"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.5", features = ["html_reports"] }
|
||||
|
||||
[[bench]]
|
||||
name = "epoll_bench"
|
||||
harness = false
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
io-uring = { version = "0.7.4", optional = true }
|
||||
Reference in New Issue
Block a user