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 ee5f849 commit 0d67649Copy full SHA for 0d67649
doc/api/v8.md
@@ -104,6 +104,8 @@ Chrome DevTools. The JSON schema is undocumented and specific to the
104
V8 engine, and may change from one version of V8 to the next.
105
106
```js
107
+// Print heap snapshot to the console
108
+const v8 = require('v8');
109
const stream = v8.getHeapSnapshot();
110
stream.pipe(process.stdout);
111
```
0 commit comments