From 798c1ad0f1de80ff0e7196b6140a3f74e31fe111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 3 May 2023 00:36:33 +0200 Subject: perf: use jemalloc as global allocator (#18957) Follow up to https://github.com/denoland/deno/pull/18875 that enables `jemalloc` as a global allocator for the Deno CLI. --- Cargo.lock | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index f4647350b..8c4f0f6ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -770,6 +770,7 @@ dependencies = [ "text-size", "text_lines", "thiserror", + "tikv-jemallocator", "tokio", "tokio-util", "tower-lsp", @@ -5141,6 +5142,16 @@ dependencies = [ "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.3.20" -- cgit v1.2.3