perf(fake-tcp) use flume to avoid locking in receiver, improved single

connection performance by 300%
This commit is contained in:
Datong Sun
2022-04-10 04:57:43 -07:00
parent 55da4d6a62
commit 581d80d08c
2 changed files with 17 additions and 17 deletions

View File

@@ -22,3 +22,4 @@ rand = { version = "0.8", features = ["small_rng"] }
log = "0.4"
internet-checksum = "0.2"
tokio-tun = "0.5"
flume = "0.10"