doc: change v8 to V8
Google's V8 engine is styled "V8" and not "v8". Most Node.js docs style it correctly. This change fixes a few instances that are not styled correctly. PR-URL: https://github.com/nodejs/node/pull/17089 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
parent
8f8999c1c0
commit
ce6c7f5b01
@ -2606,8 +2606,7 @@ Returns an un-pooled `Buffer`.
|
|||||||
|
|
||||||
In order to avoid the garbage collection overhead of creating many individually
|
In order to avoid the garbage collection overhead of creating many individually
|
||||||
allocated `Buffer` instances, by default allocations under 4KB are sliced from a
|
allocated `Buffer` instances, by default allocations under 4KB are sliced from a
|
||||||
single larger allocated object. This approach improves both performance and memory
|
single larger allocated object.
|
||||||
usage since v8 does not need to track and cleanup as many `Persistent` objects.
|
|
||||||
|
|
||||||
In the case where a developer may need to retain a small chunk of memory from a
|
In the case where a developer may need to retain a small chunk of memory from a
|
||||||
pool for an indeterminate amount of time, it may be appropriate to create an
|
pool for an indeterminate amount of time, it may be appropriate to create an
|
||||||
|
@ -11,7 +11,7 @@ To view this documentation as a manual page in a terminal, run `man node`.
|
|||||||
|
|
||||||
## Synopsis
|
## Synopsis
|
||||||
|
|
||||||
`node [options] [v8 options] [script.js | -e "script" | -] [--] [arguments]`
|
`node [options] [V8 options] [script.js | -e "script" | -] [--] [arguments]`
|
||||||
|
|
||||||
`node debug [script.js | -e "script" | <host>:<port>] …`
|
`node debug [script.js | -e "script" | <host>:<port>] …`
|
||||||
|
|
||||||
@ -293,7 +293,7 @@ Track heap object allocations for heap snapshots.
|
|||||||
added: v5.2.0
|
added: v5.2.0
|
||||||
-->
|
-->
|
||||||
|
|
||||||
Process v8 profiler output generated using the v8 option `--prof`.
|
Process V8 profiler output generated using the V8 option `--prof`.
|
||||||
|
|
||||||
|
|
||||||
### `--v8-options`
|
### `--v8-options`
|
||||||
@ -301,7 +301,7 @@ Process v8 profiler output generated using the v8 option `--prof`.
|
|||||||
added: v0.1.3
|
added: v0.1.3
|
||||||
-->
|
-->
|
||||||
|
|
||||||
Print v8 command line options.
|
Print V8 command line options.
|
||||||
|
|
||||||
*Note*: V8 options allow words to be separated by both dashes (`-`) or
|
*Note*: V8 options allow words to be separated by both dashes (`-`) or
|
||||||
underscores (`_`).
|
underscores (`_`).
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<!--introduced_in=v0.10.0-->
|
<!--introduced_in=v0.10.0-->
|
||||||
<!--type=misc-->
|
<!--type=misc-->
|
||||||
|
|
||||||
`node [options] [v8 options] [script.js | -e "script" | - ] [arguments]`
|
`node [options] [V8 options] [script.js | -e "script" | - ] [arguments]`
|
||||||
|
|
||||||
Please see the [Command Line Options][] document for information about
|
Please see the [Command Line Options][] document for information about
|
||||||
different options and ways to run scripts with Node.js.
|
different options and ways to run scripts with Node.js.
|
||||||
|
@ -104,7 +104,7 @@ buffers/buffer-tostring.js n=10000000 len=1024 arg=false: 4103857.0726124765
|
|||||||
Each line represents a single benchmark with parameters specified as
|
Each line represents a single benchmark with parameters specified as
|
||||||
`${variable}=${value}`. Each configuration combination is executed in a separate
|
`${variable}=${value}`. Each configuration combination is executed in a separate
|
||||||
process. This ensures that benchmark results aren't affected by the execution
|
process. This ensures that benchmark results aren't affected by the execution
|
||||||
order due to v8 optimizations. **The last number is the rate of operations
|
order due to V8 optimizations. **The last number is the rate of operations
|
||||||
measured in ops/sec (higher is better).**
|
measured in ops/sec (higher is better).**
|
||||||
|
|
||||||
Furthermore a subset of the configurations can be specified, by setting them in
|
Furthermore a subset of the configurations can be specified, by setting them in
|
||||||
|
@ -181,13 +181,13 @@ Track heap object allocations for heap snapshots.
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-\-prof\-process
|
.BR \-\-prof\-process
|
||||||
Process v8 profiler output generated using the v8 option \fB\-\-prof\fR
|
Process V8 profiler output generated using the V8 option \fB\-\-prof\fR
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-\-v8\-options
|
.BR \-\-v8\-options
|
||||||
Print v8 command line options.
|
Print V8 command line options.
|
||||||
|
|
||||||
Note: v8 options allow words to be separated by both dashes (\fB-\fR) or
|
Note: V8 options allow words to be separated by both dashes (\fB-\fR) or
|
||||||
underscores (\fB_\fR).
|
underscores (\fB_\fR).
|
||||||
|
|
||||||
For example, \fB\-\-stack\-trace\-limit\fR is equivalent to
|
For example, \fB\-\-stack\-trace\-limit\fR is equivalent to
|
||||||
@ -196,7 +196,7 @@ For example, \fB\-\-stack\-trace\-limit\fR is equivalent to
|
|||||||
.TP
|
.TP
|
||||||
.BR \-\-v8\-pool\-size =\fInum\fR
|
.BR \-\-v8\-pool\-size =\fInum\fR
|
||||||
Set v8's thread pool size which will be used to allocate background jobs.
|
Set v8's thread pool size which will be used to allocate background jobs.
|
||||||
If set to 0 then v8 will choose an appropriate size of the thread pool based
|
If set to 0 then V8 will choose an appropriate size of the thread pool based
|
||||||
on the number of online processors. If the value provided is larger than v8's
|
on the number of online processors. If the value provided is larger than v8's
|
||||||
max then the largest value will be chosen.
|
max then the largest value will be chosen.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user