Commit bbcf9f0
benchmark: swap var for let in buffer benchmarks
In benchmark buffers directory this changes for loops using var to let
when it applies for consistency
PR-URL: #28867
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent f2c1f36 commit bbcf9f0Copy full SHA for bbcf9f0
File tree
Expand file treeCollapse file tree
18 files changed
+25
-25
lines changedOpen diff view settings
Filter options
- benchmark/buffers
Expand file treeCollapse file tree
18 files changed
+25
-25
lines changedOpen diff view settings
Collapse file
benchmark/buffers/buffer-base64-decode-wrapped.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-base64-decode-wrapped.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
|
Collapse file
benchmark/buffers/buffer-base64-decode.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-base64-decode.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
Collapse file
benchmark/buffers/buffer-bytelength.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-bytelength.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
41 | 41 | |
42 | 42 | |
43 | 43 | |
|
Collapse file
benchmark/buffers/buffer-compare-offset.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-compare-offset.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
Collapse file
benchmark/buffers/buffer-compare.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-compare.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
|
Collapse file
benchmark/buffers/buffer-concat.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-concat.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
|
Collapse file
benchmark/buffers/buffer-indexof-number.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-indexof-number.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
|
Collapse file
benchmark/buffers/buffer-indexof.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-indexof.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | | - |
| 45 | + |
46 | 46 | |
47 | 47 | |
48 | 48 | |
|
Collapse file
benchmark/buffers/buffer-normalize-encoding.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-normalize-encoding.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
|
Collapse file
benchmark/buffers/buffer-read-float.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-read-float.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
|
0 commit comments