mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Add support for jemalloc memory profiling (#9326)
Add a new feature flag to `lighthouse` which adds jemalloc profiling support. We could manually add this during memory profiling but it is a nice QoL to have this built-in imo Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -37,6 +37,8 @@ beacon-node-redb = ["store/redb"]
|
|||||||
console-subscriber = ["console-subscriber/default"]
|
console-subscriber = ["console-subscriber/default"]
|
||||||
# Force the use of the system memory allocator rather than jemalloc.
|
# Force the use of the system memory allocator rather than jemalloc.
|
||||||
sysmalloc = ["malloc_utils/sysmalloc"]
|
sysmalloc = ["malloc_utils/sysmalloc"]
|
||||||
|
# Enable jemalloc heap profiling support.
|
||||||
|
jemalloc-profiling = ["malloc_utils/jemalloc-profiling"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
account_manager = { "path" = "../account_manager" }
|
account_manager = { "path" = "../account_manager" }
|
||||||
|
|||||||
Reference in New Issue
Block a user