mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
turn of mimalloc security features, seemingly improving performance
This commit is contained in:
parent
c3c634189d
commit
51f2fcea45
3 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ name = "aquatic"
|
||||||
bittorrent_udp = { path = "../bittorrent_udp" }
|
bittorrent_udp = { path = "../bittorrent_udp" }
|
||||||
dashmap = "3"
|
dashmap = "3"
|
||||||
indexmap = "1"
|
indexmap = "1"
|
||||||
mimalloc = "0.1"
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
|
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
|
||||||
net2 = "0.2"
|
net2 = "0.2"
|
||||||
rand = { version = "0.7", features = ["small_rng"] }
|
rand = { version = "0.7", features = ["small_rng"] }
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ name = "plot_pareto"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
aquatic = { path = "../aquatic" }
|
aquatic = { path = "../aquatic" }
|
||||||
indicatif = "0.14"
|
indicatif = "0.14"
|
||||||
mimalloc = "0.1"
|
mimalloc = { version = "0.1", default-features = false }
|
||||||
num-format = "0.4"
|
num-format = "0.4"
|
||||||
plotly = "0.4"
|
plotly = "0.4"
|
||||||
rand_distr = "0.2"
|
rand_distr = "0.2"
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@
|
||||||
//! ```
|
//! ```
|
||||||
//! ## Average results over 100 rounds
|
//! ## Average results over 100 rounds
|
||||||
//!
|
//!
|
||||||
//! Connect handler: 3 246 351 requests/second, 308.21 ns/request
|
//! Connect handler: 3 459 722 requests/second, 289.22 ns/request
|
||||||
//! Announce handler: 348 740 requests/second, 2873.65 ns/request
|
//! Announce handler: 390 674 requests/second, 2568.55 ns/request
|
||||||
//! Scrape handler: 1 115 949 requests/second, 898.17 ns/request
|
//! Scrape handler: 1 039 374 requests/second, 963.02 ns/request
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue