Commit dcfda10
committed
tools,benchmark: increase lint compliance
In the hopes of soon having the benchmark code linted, this change
groups all the likely non-controversial lint-compliance changes such as
indentation, semi-colon usage, and single-vs.-double quotation marks.
Other lint rules may have subtle performance implications in the V8
currently shipped with Node.js. Those changes will require more careful
review and will be in a separate change.
PR-URL: #5429
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Brian White <mscdex@mscdex.net>1 parent 7fc6645 commit dcfda10Copy full SHA for dcfda10
File tree
Expand file treeCollapse file tree
49 files changed
+118
-160
lines changedOpen diff view settings
Filter options
- benchmark
- buffers
- crypto
- dgram
- domain
- events
- fs
- http
- misc
- function_call
- module
- net
- path
- tls
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
49 files changed
+118
-160
lines changedOpen diff view settings
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 |
|---|---|---|
| ||
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | | - |
| 47 | + |
48 | 48 | |
49 | 49 | |
50 | 50 | |
|
Collapse file
benchmark/buffers/buffer-read.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-read.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
29 | 29 | |
30 | 30 | |
31 | 31 | |
|
Collapse file
benchmark/buffers/buffer-write.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-write.js+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
55 | 55 | |
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | 61 | |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
66 | 66 | |
67 | 67 | |
68 | 68 | |
|
Collapse file
+7-9Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
53 | 53 | |
54 | 54 | |
55 | 55 | |
| ||
87 | 87 | |
88 | 88 | |
89 | 89 | |
90 | | - |
| 90 | + |
91 | 91 | |
92 | 92 | |
93 | 93 | |
| ||
121 | 121 | |
122 | 122 | |
123 | 123 | |
124 | | - |
| 124 | + |
125 | 125 | |
126 | 126 | |
127 | 127 | |
| ||
141 | 141 | |
142 | 142 | |
143 | 143 | |
144 | | - |
145 | | - |
146 | 144 | |
147 | 145 | |
148 | 146 | |
| ||
210 | 208 | |
211 | 209 | |
212 | 210 | |
213 | | - |
| 211 | + |
214 | 212 | |
215 | 213 | |
216 | 214 | |
| ||
228 | 226 | |
229 | 227 | |
230 | 228 | |
231 | | - |
232 | | - |
| 229 | + |
| 230 | + |
233 | 231 | |
234 | 232 | |
235 | 233 | |
|
Collapse file
benchmark/crypto/aes-gcm-throughput.js
Copy file name to clipboardExpand all lines: benchmark/crypto/aes-gcm-throughput.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/crypto/cipher-stream.js
Copy file name to clipboardExpand all lines: benchmark/crypto/cipher-stream.js-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
96 | 96 | |
97 | 97 | |
98 | 98 | |
99 | | - |
100 | 99 | |
101 | 100 | |
102 | 101 | |
Collapse file
benchmark/crypto/hash-stream-creation.js
Copy file name to clipboardExpand all lines: benchmark/crypto/hash-stream-creation.js-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | | - |
26 | | - |
27 | 24 | |
28 | 25 | |
29 | 26 | |
|
Collapse file
benchmark/crypto/hash-stream-throughput.js
Copy file name to clipboardExpand all lines: benchmark/crypto/hash-stream-throughput.js-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
25 | | - |
26 | 23 | |
27 | 24 | |
28 | 25 | |
|
Collapse file
benchmark/crypto/rsa-encrypt-decrypt-throughput.js
Copy file name to clipboardExpand all lines: benchmark/crypto/rsa-encrypt-decrypt-throughput.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | 26 | |
28 | 27 | |
29 | 28 | |
| ||
39 | 38 | |
40 | 39 | |
41 | 40 | |
42 | | - |
| 41 | + |
43 | 42 | |
44 | 43 | |
45 | 44 | |
|
Collapse file
benchmark/crypto/rsa-sign-verify-throughput.js
Copy file name to clipboardExpand all lines: benchmark/crypto/rsa-sign-verify-throughput.js+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
28 | 27 | |
29 | 28 | |
30 | 29 | |
| ||
37 | 36 | |
38 | 37 | |
39 | 38 | |
40 | | - |
41 | 39 | |
42 | 40 | |
43 | 41 | |
| ||
46 | 44 | |
47 | 45 | |
48 | 46 | |
49 | | - |
| 47 | + |
50 | 48 | |
51 | 49 | |
52 | 50 | |
|
0 commit comments