Add heaptrack support (#7764)

Although we're working on jemalloc profiler support in https://github.com/sigp/lighthouse/pull/7746, heaptrack seems to be producing more sensible results.

This PR adds a heaptrack profile and a heaptrack feature so that we no longer need to patch the code in order to use heaptrack. This may prove complementary to jemalloc profiling, so I think there is no harm in having both.
This commit is contained in:
Michael Sproul
2025-07-21 12:11:27 +10:00
committed by GitHub
parent 1046dfbfe7
commit 4a3e248b7e
3 changed files with 13 additions and 7 deletions

View File

@@ -289,5 +289,9 @@ panic = "abort"
codegen-units = 1
overflow-checks = true
[profile.release-debug]
inherits = "release"
debug = true
[patch.crates-io]
quick-protobuf = { git = "https://github.com/sigp/quick-protobuf.git", rev = "681f413312404ab6e51f0b46f39b0075c6f4ebfd" }