50% performance boost from jemalloc!
This commit is contained in:
parent
16681841a7
commit
8dead81cef
|
@ -1973,6 +1973,7 @@ dependencies = [
|
||||||
"structopt",
|
"structopt",
|
||||||
"syndicate",
|
"syndicate",
|
||||||
"syndicate-macros",
|
"syndicate-macros",
|
||||||
|
"tikv-jemallocator",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-tungstenite",
|
"tokio-tungstenite",
|
||||||
"tokio-util",
|
"tokio-util",
|
||||||
|
@ -1984,7 +1985,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "syndicate-tools"
|
name = "syndicate-tools"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 4.4.5",
|
"clap 4.4.5",
|
||||||
"clap_complete",
|
"clap_complete",
|
||||||
|
@ -2046,6 +2047,26 @@ dependencies = [
|
||||||
"once_cell",
|
"once_cell",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tikv-jemalloc-sys"
|
||||||
|
version = "0.5.4+5.3.0-patched"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1"
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
"libc",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tikv-jemallocator"
|
||||||
|
version = "0.5.4"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "965fe0c26be5c56c94e38ba547249074803efd52adfb66de62107d95aab3eaca"
|
||||||
|
dependencies = [
|
||||||
|
"libc",
|
||||||
|
"tikv-jemalloc-sys",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tinytemplate"
|
name = "tinytemplate"
|
||||||
version = "1.2.1"
|
version = "1.2.1"
|
||||||
|
|
|
@ -26,6 +26,8 @@ noise-rust-crypto = "0.5"
|
||||||
notify = "4.0"
|
notify = "4.0"
|
||||||
structopt = "0.3"
|
structopt = "0.3"
|
||||||
|
|
||||||
|
tikv-jemallocator = "0.5.0"
|
||||||
|
|
||||||
tungstenite = "0.13"
|
tungstenite = "0.13"
|
||||||
tokio-tungstenite = "0.14"
|
tokio-tungstenite = "0.14"
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,9 @@ mod protocol;
|
||||||
mod script;
|
mod script;
|
||||||
mod services;
|
mod services;
|
||||||
|
|
||||||
|
#[global_allocator]
|
||||||
|
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||||
|
|
||||||
mod schemas {
|
mod schemas {
|
||||||
include!(concat!(env!("OUT_DIR"), "/src/schemas/mod.rs"));
|
include!(concat!(env!("OUT_DIR"), "/src/schemas/mod.rs"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue