Commit 9ffdee8
benchmark: use unique filenames in fs benchmarks
Use a unique file name for each benchmark. Running benchmarks
simultaneously may be a bit of an unusual use case, but there are use
cases, such as stress testing `test/parallel/test-benchmark-fs.js`.
PR-URL: #16776
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b931169 commit 9ffdee8Copy full SHA for 9ffdee8
File tree
Expand file treeCollapse file tree
3 files changed
+6
-3
lines changedOpen diff view settings
Filter options
- benchmark/fs
Expand file treeCollapse file tree
3 files changed
+6
-3
lines changedOpen diff view settings
Collapse file
benchmark/fs/read-stream-throughput.js
Copy file name to clipboardExpand all lines: benchmark/fs/read-stream-throughput.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
|
Collapse file
+2-1Lines changed: 2 additions & 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 | 12 | |
|
Collapse file
benchmark/fs/write-stream-throughput.js
Copy file name to clipboardExpand all lines: benchmark/fs/write-stream-throughput.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
|
0 commit comments