Commit a1555cb
benchmark: add more util inspect and format benchmarks
This adds a couple of benchmarks to check different options and code
paths.
Backport-PR-URL: #31431
PR-URL: #30767
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent a1ce776 commit a1555cbCopy full SHA for a1555cb
File tree
Expand file treeCollapse file tree
3 files changed
+18
-6
lines changedOpen diff view settings
Filter options
- benchmark/util
- test/benchmark
Expand file treeCollapse file tree
3 files changed
+18
-6
lines changedOpen diff view settings
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
| 16 | + |
| 17 | + |
16 | 18 | |
17 | 19 | |
18 | 20 | |
|
Collapse file
benchmark/util/inspect-proxy.js
Copy file name to clipboardExpand all lines: benchmark/util/inspect-proxy.js+13-5Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
7 | 11 | |
8 | | - |
9 | | - |
10 | | - |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
11 | 19 | |
12 | 20 | |
13 | | - |
| 21 | + |
14 | 22 | |
15 | 23 | |
Collapse file
test/benchmark/test-benchmark-util.js
Copy file name to clipboardExpand all lines: test/benchmark/test-benchmark-util.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
| 18 | + |
| 19 | + |
18 | 20 | |
0 commit comments