improvement: switch to jemalloc allocator

This commit is contained in:
Greg Heartsfield
2023-04-06 18:33:30 -05:00
parent 8e4e2d824b
commit 80c459c36c
3 changed files with 30 additions and 0 deletions
Generated
+21
View File
@@ -1689,6 +1689,7 @@ dependencies = [
"serde_json",
"sqlx",
"thiserror",
"tikv-jemallocator",
"tokio",
"tokio-tungstenite",
"tonic",
@@ -2958,6 +2959,26 @@ dependencies = [
"once_cell",
]
[[package]]
name = "tikv-jemalloc-sys"
version = "0.5.3+5.3.0-patched"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a678df20055b43e57ef8cddde41cdfda9a3c1a060b67f4c5836dfb1d78543ba8"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "tikv-jemallocator"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20612db8a13a6c06d57ec83953694185a367e16945f66565e8028d2c0bd76979"
dependencies = [
"libc",
"tikv-jemalloc-sys",
]
[[package]]
name = "time"
version = "0.1.45"