swactor/Cargo.toml
Zachery Aaron Shores-Chmielewski f947d6f8ec feat: channel benchmark
Harness for benchmarking channel performance, so we can understand exactly where bottlenecks are in our runtime.
2026-02-06 20:20:43 +07:00

33 lines
744 B
TOML

[package]
name = "swactor"
version = "0.1.0"
edition = "2024"
autobenches = false
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["getrandom"]
getrandom = ["dep:getrandom"]
no_random = [] # compile without access to a source of randomness
bench = [] # expose internals for benchmarking
python = ["dep:pyo3"]
[dependencies]
getrandom = { version = "0.2", optional = true }
crossbeam-queue = "0.3.12"
crossbeam-utils = "0.8.21"
pyo3 = { version = "0.23", features = ["extension-module"], optional = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "runtime_benchmarks"
harness = false
[[bench]]
name = "channel_benchmarks"
harness = false
required-features = ["bench"]