From 18a1e092e9406c6670cd38d17997325bba7bbfdc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 30 Jun 2019 13:30:17 +0300 Subject: Move memory usage statistics to ra_prof --- crates/ra_prof/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates/ra_prof/Cargo.toml') diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml index 787e18385..e986019ca 100644 --- a/crates/ra_prof/Cargo.toml +++ b/crates/ra_prof/Cargo.toml @@ -10,3 +10,9 @@ once_cell = "0.2.0" itertools = "0.8.0" backtrace = "0.3.28" cpuprofiler = { version = "0.0.3", optional = true } +jemallocator = { version = "0.1.9", optional = true } +jemalloc-ctl = { version = "0.2.0", optional = true } + + +[features] +jemalloc = [ "jemallocator", "jemalloc-ctl" ] -- cgit v1.2.3