Commit d52a71f
benchmark: adjust assert runtimes
Each file should have a reasonable runtime while having a good
accuracy. This adjust those up and down to have minimal runtimes
with a good accuracy.
PR-URL: #57370
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>1 parent 7592cf4 commit d52a71fCopy full SHA for d52a71f
File tree
Expand file treeCollapse file tree
6 files changed
+13
-8
lines changedOpen diff view settings
Filter options
- benchmark/assert
Expand file treeCollapse file tree
6 files changed
+13
-8
lines changedOpen diff view settings
Collapse file
benchmark/assert/assertion-error.js
Copy file name to clipboardExpand all lines: benchmark/assert/assertion-error.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | | - |
8 | | - |
| 6 | + |
| 7 | + |
9 | 8 | |
10 | 9 | |
11 | 10 | |
|
Collapse file
benchmark/assert/deepequal-map.js
Copy file name to clipboardExpand all lines: benchmark/assert/deepequal-map.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
benchmark/assert/deepequal-object.js
Copy file name to clipboardExpand all lines: benchmark/assert/deepequal-object.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
|
Collapse file
benchmark/assert/deepequal-set.js
Copy file name to clipboardExpand all lines: benchmark/assert/deepequal-set.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
benchmark/assert/deepequal-simple-array-and-set.js
Copy file name to clipboardExpand all lines: benchmark/assert/deepequal-simple-array-and-set.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
benchmark/assert/deepequal-typedarrays.js
Copy file name to clipboardExpand all lines: benchmark/assert/deepequal-typedarrays.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
19 | 25 | |
20 | 26 | |
21 | 27 | |
|
0 commit comments