Skip to content

Commit

Permalink
doc: add new useful V8 option
Browse files Browse the repository at this point in the history
Add link for issue nodejs#42511.
  • Loading branch information
JialuZhang-intel committed Jun 13, 2022
1 parent baa9c9b commit 5411215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@ Since the young generation size of the V8 heap is three times (see
[`YoungGenerationSizeFromSemiSpaceSize`][] in V8) the size of the semi-space,
an increase of 1 MiB to semi-space applies to each of the three individual
semi-spaces and causes the heap size to increase by 3 MiB. The throughput
improvement depends on your workload (see \[#42511]\[]).
improvement depends on your workload (see [#42511][]).

The default value is 16 MiB for 64-bit systems and 8 MiB for 32-bit systems. To
get the best configuration for your application, you should try different
Expand All @@ -2072,6 +2072,7 @@ for MiB in 16 32 64 128; do
done
```

[#42511]: https://github.com/nodejs/node/issues/42511
[Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/
[CommonJS]: modules.md
[ECMAScript module loader]: esm.md#loaders
Expand Down

0 comments on commit 5411215

Please sign in to comment.