mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
add jemalloc to http-ui and the benchmarks
This commit is contained in:
parent
d53df8a002
commit
77eb37934f
6 changed files with 20 additions and 0 deletions
|
@ -36,6 +36,10 @@ use warp::Filter;
|
|||
|
||||
use self::update_store::UpdateStore;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
static GLOBAL_THREAD_POOL: OnceCell<ThreadPool> = OnceCell::new();
|
||||
|
||||
#[derive(Debug, StructOpt)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue