We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3743d commit 6211ffdCopy full SHA for 6211ffd
doc/api/v8.md
@@ -102,6 +102,8 @@ Chrome DevTools. The JSON schema is undocumented and specific to the
102
V8 engine, and may change from one version of V8 to the next.
103
104
```js
105
+// Print heap snapshot to the console
106
+const v8 = require('v8');
107
const stream = v8.getHeapSnapshot();
108
stream.pipe(process.stdout);
109
```
0 commit comments