有用的 V8 选项


【Useful V8 options】

V8 有自己的一套命令行选项。任何提供给 node 的 V8 CLI 选项都会传递给 V8 处理。V8 的选项不保证稳定性。V8 团队本身也不认为它们是正式 API 的一部分,并保留随时更改的权利。同样,它们不在 Node.js 的稳定性保证范围内。很多 V8 选项仅对 V8 开发者有用。尽管如此,仍有一小部分 V8 选项在 Node.js 中广泛适用,并在此进行了文档说明:

【V8 has its own set of CLI options. Any V8 CLI option that is provided to node will be passed on to V8 to handle. V8's options have no stability guarantee. The V8 team themselves don't consider them to be part of their formal API, and reserve the right to change them at any time. Likewise, they are not covered by the Node.js stability guarantees. Many of the V8 options are of interest only to V8 developers. Despite this, there is a small set of V8 options that are widely applicable to Node.js, and they are documented here:】