Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1bbdbdf

Browse filesBrowse files
Lei ShiRafaelGSS
authored andcommitted
benchmark: update iterations in benchmark/perf_hooks
Fixes: #50571 PR-URL: #50869 Refs: #50571 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent cd891b3 commit 1bbdbdf
Copy full SHA for 1bbdbdf

File tree

Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎benchmark/perf_hooks/performance-observer.js‎

Copy file name to clipboardExpand all lines: benchmark/perf_hooks/performance-observer.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function randomFn() {
1313
}
1414

1515
const bench = common.createBenchmark(main, {
16-
n: [1e5],
16+
n: [1e6],
1717
pending: [1, 10],
1818
}, {
1919
options: ['--expose-internals'],
Collapse file

‎benchmark/perf_hooks/resourcetiming.js‎

Copy file name to clipboardExpand all lines: benchmark/perf_hooks/resourcetiming.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function createTimingInfo({
5050
}
5151

5252
const bench = common.createBenchmark(main, {
53-
n: [1e5],
53+
n: [1e6],
5454
observe: ['resource'],
5555
});
5656

Collapse file

‎benchmark/perf_hooks/timerfied.js‎

Copy file name to clipboardExpand all lines: benchmark/perf_hooks/timerfied.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function randomFn() {
1313
}
1414

1515
const bench = common.createBenchmark(main, {
16-
n: [1e5],
16+
n: [1e6],
1717
observe: ['function'],
1818
});
1919

Collapse file

‎benchmark/perf_hooks/usertiming.js‎

Copy file name to clipboardExpand all lines: benchmark/perf_hooks/usertiming.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const {
88
} = require('perf_hooks');
99

1010
const bench = common.createBenchmark(main, {
11-
n: [1e5],
11+
n: [1e6],
1212
observe: ['all', 'measure'],
1313
});
1414

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.