mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
661060808d
- removing async_serde as it seems to be not usefull the idea was because deserialising is slow parallising it could speed up. Whoever we need to keep the order of frames, (at least for controlframes) so serialising in threads would be quite complicated. Also serialisation is quite fast, about 1 Gbit/s such speed is enough for messaging, it's more important to serve parallel streams better. Thats why i am removing async serde coding for now - frames are no longer serialized by serde, by byte by byte manually, increadible speed upgrade - more metrics - switch channel_creator into for_each_concurrent - removing some pool.spwan_ok() as they dont allow me to use self - reduce features needed
21 lines
516 B
TOML
21 lines
516 B
TOML
[workspace]
|
|
|
|
[package]
|
|
name = "network-speed"
|
|
version = "0.1.0"
|
|
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
uvth = "3.1"
|
|
network = { package = "veloren_network", path = "../../../network" }
|
|
clap = "2.33"
|
|
futures = "0.3"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.2.3"
|
|
bincode = "1.2"
|
|
prometheus = "0.7"
|
|
rouille = "3.0.0"
|
|
serde = { version = "1.0", features = ["derive"] } |