| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7b3743d commit 6211ffd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -102,6 +102,8 @@ Chrome DevTools. The JSON schema is undocumented and specific to the | |||
| 102 | 102 | V8 engine, and may change from one version of V8 to the next. | |
| 103 | 103 | ||
| 104 | 104 | ```js | |
| 105 | + // Print heap snapshot to the console | ||
| 106 | + const v8 = require('v8'); | ||
| 105 | 107 | const stream = v8.getHeapSnapshot(); | |
| 106 | 108 | stream.pipe(process.stdout); | |
| 107 | 109 | ``` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments