mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add micro_block_raw_aio_drain_128_us and micro_block_raw_aio_drain_256_us tests that submit N AIO writes to a temporary file, wait for the eventfd signal, then time how long it takes to drain all completions via next_completed_request(). This measures per completion syscall overhead and provides a baseline before any batching optimizations. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
20 lines
508 B
TOML
20 lines
508 B
TOML
[package]
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition.workspace = true
|
|
name = "performance-metrics"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
block = { path = "../block" }
|
|
clap = { workspace = true, features = ["wrap_help"] }
|
|
dirs = { workspace = true }
|
|
libc = { workspace = true }
|
|
serde = { workspace = true, features = ["derive", "rc"] }
|
|
serde_json = { workspace = true }
|
|
test_infra = { path = "../test_infra" }
|
|
thiserror = { workspace = true }
|
|
vmm-sys-util = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|