runtime: reduce the lock contention in task spawn (#6001)

This commit is contained in:
Weijia Jiang
2023-12-07 10:45:07 +00:00
committed by GitHub
parent a0a58d7edd
commit 3a4aef17b2
13 changed files with 273 additions and 143 deletions
+1
View File
@@ -12,6 +12,7 @@ tokio = { version = "1.5.0", path = "../tokio", features = ["full"] }
criterion = "0.5.1"
rand = "0.8"
rand_chacha = "0.3"
num_cpus = "1.16.0"
[dev-dependencies]
tokio-util = { version = "0.7.0", path = "../tokio-util", features = ["full"] }