Skip to content

Commit

Permalink
Merge pull request #225 from Berrysoft/new-bench
Browse files Browse the repository at this point in the history
refactor(bench): rewrite fs bench
  • Loading branch information
Berrysoft authored Mar 22, 2024
2 parents 14361dd + 2f2898c commit 12f09a7
Show file tree
Hide file tree
Showing 2 changed files with 609 additions and 74 deletions.
6 changes: 6 additions & 0 deletions compio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ compio-macros = { workspace = true }
criterion = { workspace = true, features = ["async_tokio"] }
futures-channel = { workspace = true }
futures-util = { workspace = true }
rand = "0.8.5"
tempfile = { workspace = true }
tokio = { workspace = true, features = [
"fs",
Expand All @@ -69,6 +70,9 @@ windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem"] }
nix = { workspace = true, features = ["fs"] }
libc = { workspace = true }

[target.'cfg(target_os = "linux")'.dev-dependencies]
monoio = { version = "0.2.2", default-features = false, features = ["iouring"] }

[features]
default = ["runtime", "io-uring"]
io-uring = ["compio-driver/io-uring"]
Expand Down Expand Up @@ -116,6 +120,8 @@ nightly = [
"try_trait_v2",
]

real_blackbox = ["criterion/real_blackbox"]

[[example]]
name = "basic"
required-features = ["macros"]
Expand Down
Loading

0 comments on commit 12f09a7

Please sign in to comment.