Commit 4bb529d
committed
benchmark: use strict mode
Apply strict mode to benchmark code.
PR-URL: #5336
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 65cd2a0 commit 4bb529dCopy full SHA for 4bb529d
File tree
Expand file treeCollapse file tree
93 files changed
+105
-14
lines changedOpen diff view settings
Filter options
- benchmark
- arrays
- buffers
- crypto
- events
- fs
- http
- misc
- function_call
- net
- path
- querystring
- tls
- url
- 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
93 files changed
+105
-14
lines changedOpen diff view settings
Collapse file
benchmark/arrays/var-int.js
Copy file name to clipboardExpand all lines: benchmark/arrays/var-int.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/arrays/zero-float.js
Copy file name to clipboardExpand all lines: benchmark/arrays/zero-float.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/arrays/zero-int.js
Copy file name to clipboardExpand all lines: benchmark/arrays/zero-int.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/buffers/buffer-base64-decode.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-base64-decode.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/buffers/buffer-base64-encode.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-base64-encode.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/buffers/buffer-bytelength.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-bytelength.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/buffers/buffer-compare.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-compare.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/buffers/buffer-creation.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-creation.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
benchmark/buffers/buffer-indexof.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-indexof.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
Collapse file
benchmark/buffers/buffer-iterate.js
Copy file name to clipboardExpand all lines: benchmark/buffers/buffer-iterate.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
|
0 commit comments