-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process heap capture into trace html
Reviewed By: bestander Differential Revision: D3642188 fbshipit-source-id: c9a4699b2a0d60eb5961333dec45941085e19324
- Loading branch information
Showing
10 changed files
with
2,509 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/captures/* | ||
preLoadedCapture.js |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
all: | ||
NODE_PATH="../../../../node_modules/" babel --presets babel-preset-react-native -d out src | ||
|
||
watch: | ||
NODE_PATH="../../../../node_modules/" babel --watch --presets babel-preset-react-native -d out src |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>JSC Heap Capture</title> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.1/react.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.1/react-dom.min.js"></script> | ||
<script src="out/aggrow.js"></script> | ||
<script src="out/table.js"></script> | ||
</head> | ||
<body style="margin:0px; height: 100%"> | ||
Loading... This could take a while depending on how big the profile is. Check devtools console for errors. | ||
</body> | ||
<script src="preLoadedCapture.js"></script> | ||
<script src="out/heapCapture.js"></script> | ||
</html> |
Oops, something went wrong.