mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
A refactor of the scheduler internals focusing on simplifying and reducing unsafety. There are no fundamental logic changes. * The state transitions of the core task component are refined and reduced. * `basic_scheduler` has most unsafety removed. * `local_set` has most unsafety removed. * `threaded_scheduler` limits most unsafety to its queue implementation.
25 lines
368 B
TOML
25 lines
368 B
TOML
[package]
|
|
name = "benches"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
|
bencher = "0.1.5"
|
|
|
|
[[bench]]
|
|
name = "spawn"
|
|
path = "spawn.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "mpsc"
|
|
path = "mpsc.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "scheduler"
|
|
path = "scheduler.rs"
|
|
harness = false
|