Skip to content

Commit

Permalink
doc: add performance note to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhdaware committed Jul 18, 2022
1 parent 99b109f commit d663396
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ effort to report stack traces relative to the original source file.
Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from
modifying the stack trace.

Note, Accessing `Error.stack` with source maps enabled can be an expensive
operation. Do check out the performance implications of `--enable-source-maps`
at [nodejs/node#41541](https://github.com/nodejs/node/issues/41541).

### `--experimental-global-webcrypto`

<!-- YAML
Expand Down

0 comments on commit d663396

Please sign in to comment.