-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Profile] Add Heap Snapshot tool (#46862)
We expose a function `Profile.take_heap_snapshot(file)`, which writes a heap snapshot in Chrome's .heapsnapshot JSON format to the given IO stream. This can be loaded into Chrome Devtools' snapshot viewer to explore the heap and find memory leaks. Co-Authored-By: Dean De Leo <dean.deleo@relational.ai> Co-Authored-By: Nathan Daly <NHDaly@gmail.com> Co-Authored-By: Pete Vilter <7341+vilterp@users.noreply.github.com> Co-Authored-By: Valentin Churavy <v.churavy@gmail.com> Co-Authored-By: Jameson Nash <vtjnash@gmail.com>
- Loading branch information
1 parent
fbd5a72
commit 956e0a3
Showing
10 changed files
with
751 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.