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 51b4a1b

Browse filesBrowse files
saurabhdawaredanielleadams
authored andcommitted
doc: add performance note to --enable-source-maps docs
PR-URL: #43817 Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 63b5c49 commit 51b4a1b
Copy full SHA for 51b4a1b

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,11 @@ effort to report stack traces relative to the original source file.
336336
Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from
337337
modifying the stack trace.
338338

339+
Note, enabling source maps can introduce latency to your application
340+
when `Error.stack` is accessed. If you access `Error.stack` frequently
341+
in your application, take into account the performance implications
342+
of `--enable-source-maps`.
343+
339344
### `--experimental-global-customevent`
340345

341346
<!-- YAML

0 commit comments

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