GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — benchmark: update iterations in benchmark/perf_hooks · nodejs/node@1bbdbdf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • benchmark/perf_hooks
    • performance-observer.js
    • resourcetiming.js
    • timerfied.js
    • usertiming.js
Expand file treeCollapse file tree
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.