mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: add performance note to --enable-source-maps docs
PR-URL: https://github.com/nodejs/node/pull/43817 Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
1 parent
0a2c910ae9
commit
433e9bbefe
1 file changed
+5
@@ -336,6 +336,11 @@ effort to report stack traces relative to the original source file.
|
||||
Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from
|
||||
modifying the stack trace.
|
||||
|
||||
Note, enabling source maps can introduce latency to your application
|
||||
when `Error.stack` is accessed. If you access `Error.stack` frequently
|
||||
in your application, take into account the performance implications
|
||||
of `--enable-source-maps`.
|
||||
|
||||
### `--experimental-global-customevent`
|
||||
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user