Commit 26a5305
benchmark: add per-suite setup option
This allows us to set up fixtures for the benchmark suite only
once, which can save quite a bit of time when running benchmarks
that require tens of thousands of fixture files or more (e.g.
the module benchmarks).
PR-URL: #60574
Fixes: #58488
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>1 parent be8c417 commit 26a5305Copy full SHA for 26a5305
File tree
Expand file treeCollapse file tree
3 files changed
+39
-5
lines changedOpen diff view settings
Filter options
- benchmark
- module
- doc/contributing
Expand file treeCollapse file tree
3 files changed
+39
-5
lines changedOpen diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
| 31 | + |
31 | 32 | |
32 | 33 | |
33 | 34 | |
| ||
207 | 208 | |
208 | 209 | |
209 | 210 | |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
210 | 217 | |
211 | 218 | |
212 | 219 | |
|
Collapse file
benchmark/module/module-require.js
Copy file name to clipboardExpand all lines: benchmark/module/module-require.js+6-5Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
11 | 17 | |
12 | 18 | |
13 | 19 | |
14 | | - |
15 | | - |
16 | | - |
17 | 20 | |
18 | 21 | |
19 | 22 | |
| ||
24 | 27 | |
25 | 28 | |
26 | 29 | |
27 | | - |
28 | | - |
29 | 30 | |
30 | 31 | |
31 | 32 | |
|
Collapse file
doc/contributing/writing-and-running-benchmarks.md
Copy file name to clipboardExpand all lines: doc/contributing/writing-and-running-benchmarks.md+26Lines changed: 26 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
591 | 591 | |
592 | 592 | |
593 | 593 | |
| 594 | + |
| 595 | + |
| 596 | + |
| 597 | + |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
| 608 | + |
| 609 | + |
| 610 | + |
| 611 | + |
| 612 | + |
| 613 | + |
| 614 | + |
| 615 | + |
| 616 | + |
| 617 | + |
| 618 | + |
| 619 | + |
594 | 620 | |
595 | 621 | |
596 | 622 | |
|
0 commit comments