2019-12-24 20:53:20 -08:00
|
|
|
[package]
|
|
|
|
|
name = "benches"
|
|
|
|
|
version = "0.0.0"
|
|
|
|
|
publish = false
|
|
|
|
|
edition = "2018"
|
|
|
|
|
|
2023-02-27 10:21:42 -08:00
|
|
|
[features]
|
|
|
|
|
test-util = ["tokio/test-util"]
|
|
|
|
|
|
2019-12-24 20:53:20 -08:00
|
|
|
[dependencies]
|
2021-05-05 21:49:00 +02:00
|
|
|
tokio = { version = "1.5.0", path = "../tokio", features = ["full"] }
|
2019-12-24 20:53:20 -08:00
|
|
|
bencher = "0.1.5"
|
2022-10-03 11:58:21 +01:00
|
|
|
rand = "0.8"
|
|
|
|
|
rand_chacha = "0.3"
|
2019-12-24 20:53:20 -08:00
|
|
|
|
2021-05-05 21:49:00 +02:00
|
|
|
[dev-dependencies]
|
2021-12-10 13:16:17 -05:00
|
|
|
tokio-util = { version = "0.7.0", path = "../tokio-util", features = ["full"] }
|
2021-05-09 22:26:20 +09:00
|
|
|
tokio-stream = { path = "../tokio-stream" }
|
2021-05-05 21:49:00 +02:00
|
|
|
|
2020-09-22 15:40:44 -07:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
|
libc = "0.2.42"
|
|
|
|
|
|
2019-12-24 20:53:20 -08:00
|
|
|
[[bench]]
|
|
|
|
|
name = "spawn"
|
|
|
|
|
path = "spawn.rs"
|
|
|
|
|
harness = false
|
2020-01-27 23:48:35 -05:00
|
|
|
|
|
|
|
|
[[bench]]
|
2020-11-13 19:30:52 -08:00
|
|
|
name = "sync_mpsc"
|
|
|
|
|
path = "sync_mpsc.rs"
|
2020-01-27 23:48:35 -05:00
|
|
|
harness = false
|
2020-03-05 10:31:37 -08:00
|
|
|
|
2023-02-15 10:05:10 +11:00
|
|
|
[[bench]]
|
|
|
|
|
name = "sync_mpsc_oneshot"
|
|
|
|
|
path = "sync_mpsc_oneshot.rs"
|
|
|
|
|
harness = false
|
|
|
|
|
|
2023-02-18 15:51:08 +01:00
|
|
|
[[bench]]
|
|
|
|
|
name = "sync_watch"
|
|
|
|
|
path = "sync_watch.rs"
|
|
|
|
|
harness = false
|
|
|
|
|
|
2020-03-05 10:31:37 -08:00
|
|
|
[[bench]]
|
2020-11-13 19:30:52 -08:00
|
|
|
name = "rt_multi_threaded"
|
|
|
|
|
path = "rt_multi_threaded.rs"
|
2020-03-05 10:31:37 -08:00
|
|
|
harness = false
|
2020-03-23 13:45:48 -07:00
|
|
|
|
2023-04-19 13:07:10 +02:00
|
|
|
[[bench]]
|
|
|
|
|
name = "sync_notify"
|
|
|
|
|
path = "sync_notify.rs"
|
|
|
|
|
harness = false
|
2020-03-23 13:45:48 -07:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "sync_rwlock"
|
|
|
|
|
path = "sync_rwlock.rs"
|
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "sync_semaphore"
|
|
|
|
|
path = "sync_semaphore.rs"
|
|
|
|
|
harness = false
|
2020-09-22 15:40:44 -07:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "signal"
|
|
|
|
|
path = "signal.rs"
|
|
|
|
|
harness = false
|
2021-05-05 21:49:00 +02:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "fs"
|
|
|
|
|
path = "fs.rs"
|
|
|
|
|
harness = false
|
2022-10-03 11:58:21 +01:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "copy"
|
|
|
|
|
path = "copy.rs"
|
|
|
|
|
harness = false
|
2023-02-27 10:21:42 -08:00
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
|
name = "time_now"
|
|
|
|
|
path = "time_now.rs"
|
|
|
|
|
harness = false
|