Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6211ffd

Browse filesBrowse files
PoojaDurgadtargos
authored andcommitted
doc: add require statement in the example
PR-URL: #35554 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 7b3743d commit 6211ffd
Copy full SHA for 6211ffd

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/v8.md‎

Copy file name to clipboardExpand all lines: doc/api/v8.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ Chrome DevTools. The JSON schema is undocumented and specific to the
102102
V8 engine, and may change from one version of V8 to the next.
103103

104104
```js
105+
// Print heap snapshot to the console
106+
const v8 = require('v8');
105107
const stream = v8.getHeapSnapshot();
106108
stream.pipe(process.stdout);
107109
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.