Support jemalloc profiling and heap dumps (#3373)

This commit is contained in:
Jai Agrawal
2025-03-09 14:41:19 -07:00
committed by GitHub
parent d3427375b0
commit 1009695a15
6 changed files with 382 additions and 21 deletions

View File

@@ -125,7 +125,9 @@ lettre = "0.11.3"
derive-new = "0.6.0"
rust_iso3166 = "0.1.11"
jemallocator = { version = "0.5.4", optional = true }
tikv-jemallocator = { version = "0.6.0", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
tikv-jemalloc-ctl = { version = "0.6.0", features = ["stats"] }
jemalloc_pprof = { version = "0.7.0", features = ["flamegraph"] }
async-stripe = { version = "0.39.1", features = ["runtime-tokio-hyper-rustls"] }
rusty-money = "0.4.1"
@@ -135,6 +137,3 @@ ariadne = { path = "../../packages/ariadne" }
[dev-dependencies]
actix-http = "3.4.0"
[features]
jemalloc = ["jemallocator"]