Skip to content

Commit 39cb687

Browse files
TrottMylesBorins
authored andcommitted
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: #17089 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 79ba863 commit 39cb687

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

doc/api/buffer.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2624,8 +2624,7 @@ Returns an un-pooled `Buffer`.
26242624

26252625
In order to avoid the garbage collection overhead of creating many individually
26262626
allocated `Buffer` instances, by default allocations under 4KB are sliced from a
2627-
single larger allocated object. This approach improves both performance and memory
2628-
usage since v8 does not need to track and cleanup as many `Persistent` objects.
2627+
single larger allocated object.
26292628

26302629
In the case where a developer may need to retain a small chunk of memory from a
26312630
pool for an indeterminate amount of time, it may be appropriate to create an

doc/api/cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To view this documentation as a manual page in a terminal, run `man node`.
1111

1212
## Synopsis
1313

14-
`node [options] [v8 options] [script.js | -e "script" | -] [--] [arguments]`
14+
`node [options] [V8 options] [script.js | -e "script" | -] [--] [arguments]`
1515

1616
`node debug [script.js | -e "script" | <host>:<port>] …`
1717

@@ -293,15 +293,15 @@ Track heap object allocations for heap snapshots.
293293
added: v5.2.0
294294
-->
295295

296-
Process v8 profiler output generated using the v8 option `--prof`.
296+
Process V8 profiler output generated using the V8 option `--prof`.
297297

298298

299299
### `--v8-options`
300300
<!-- YAML
301301
added: v0.1.3
302302
-->
303303

304-
Print v8 command line options.
304+
Print V8 command line options.
305305

306306
*Note*: V8 options allow words to be separated by both dashes (`-`) or
307307
underscores (`_`).

doc/api/synopsis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!--introduced_in=v0.10.0-->
44
<!--type=misc-->
55

6-
`node [options] [v8 options] [script.js | -e "script" | - ] [arguments]`
6+
`node [options] [V8 options] [script.js | -e "script" | - ] [arguments]`
77

88
Please see the [Command Line Options][] document for information about
99
different options and ways to run scripts with Node.js.

doc/guides/writing-and-running-benchmarks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ buffers/buffer-tostring.js n=10000000 len=1024 arg=false: 4103857.0726124765
104104
Each line represents a single benchmark with parameters specified as
105105
`${variable}=${value}`. Each configuration combination is executed in a separate
106106
process. This ensures that benchmark results aren't affected by the execution
107-
order due to v8 optimizations. **The last number is the rate of operations
107+
order due to V8 optimizations. **The last number is the rate of operations
108108
measured in ops/sec (higher is better).**
109109

110110
Furthermore a subset of the configurations can be specified, by setting them in

doc/node.1

+4-4
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ Track heap object allocations for heap snapshots.
181181

182182
.TP
183183
.BR \-\-prof\-process
184-
Process v8 profiler output generated using the v8 option \fB\-\-prof\fR
184+
Process V8 profiler output generated using the V8 option \fB\-\-prof\fR
185185

186186
.TP
187187
.BR \-\-v8\-options
188-
Print v8 command line options.
188+
Print V8 command line options.
189189

190-
Note: v8 options allow words to be separated by both dashes (\fB-\fR) or
190+
Note: V8 options allow words to be separated by both dashes (\fB-\fR) or
191191
underscores (\fB_\fR).
192192

193193
For example, \fB\-\-stack\-trace\-limit\fR is equivalent to
@@ -196,7 +196,7 @@ For example, \fB\-\-stack\-trace\-limit\fR is equivalent to
196196
.TP
197197
.BR \-\-v8\-pool\-size =\fInum\fR
198198
Set v8's thread pool size which will be used to allocate background jobs.
199-
If set to 0 then v8 will choose an appropriate size of the thread pool based
199+
If set to 0 then V8 will choose an appropriate size of the thread pool based
200200
on the number of online processors. If the value provided is larger than v8's
201201
max then the largest value will be chosen.
202202

0 commit comments

Comments
 (0)