mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat(cli): jemalloc-prof feature (#3322)
This commit is contained in:
@@ -87,6 +87,7 @@ humantime = "2.1.0"
|
||||
|
||||
[features]
|
||||
jemalloc = ["dep:jemallocator"]
|
||||
jemalloc-prof = ["jemalloc", "jemallocator?/profiling"]
|
||||
only-info-logs = ["tracing/release_max_level_info"]
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
//! - `jemalloc`: Uses [jemallocator](https://github.com/tikv/jemallocator) as the global allocator.
|
||||
//! This is **not recommended on Windows**. See [here](https://rust-lang.github.io/rfcs/1974-global-allocators.html#jemalloc)
|
||||
//! for more info.
|
||||
//! - `jemalloc-prof`: Enables [jemallocator's](https://github.com/tikv/jemallocator) heap profiling
|
||||
//! and leak detection functionality. See [jemalloc's opt.prof](https://jemalloc.net/jemalloc.3.html#opt.prof)
|
||||
//! documentation for usage details. This is **not recommended on Windows**. See [here](https://rust-lang.github.io/rfcs/1974-global-allocators.html#jemalloc)
|
||||
//! for more info.
|
||||
//! - `only-info-logs`: Disables all logs below `info` level. This can speed up the node, since
|
||||
//! fewer calls to the logging component is made.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user