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: add trailing commas in `benchmark/process` · nodejs/node@8036583

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • benchmark
    • .eslintrc.yaml
    • process
      • bench-env.js
      • bench-hrtime.js
      • coverage.js
      • memoryUsage.js
      • next-tick-breadth-args.js
      • next-tick-breadth.js
      • next-tick-depth-args.js
      • next-tick-depth.js
      • next-tick-exec-args.js
      • next-tick-exec.js
      • queue-microtask-breadth.js
      • queue-microtask-depth.js
      • resourceUsage.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎benchmark/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: benchmark/.eslintrc.yaml
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ overrides:
1313
- http/*.js
1414
- http2/*.js
1515
- path/*.js
16-
- process/*.js
1716
- url/*.js
1817
rules:
1918
comma-dangle: [error, {
Collapse file

‎benchmark/process/bench-env.js‎

Copy file name to clipboardExpand all lines: benchmark/process/bench-env.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const common = require('../common');
44

55
const bench = common.createBenchmark(main, {
66
n: [1e6],
7-
operation: ['get', 'set', 'enumerate', 'query', 'delete']
7+
operation: ['get', 'set', 'enumerate', 'query', 'delete'],
88
});
99

1010

Collapse file

‎benchmark/process/bench-hrtime.js‎

Copy file name to clipboardExpand all lines: benchmark/process/bench-hrtime.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const assert = require('assert');
55

66
const bench = common.createBenchmark(main, {
77
n: [1e6],
8-
type: ['raw', 'diff', 'bigint']
8+
type: ['raw', 'diff', 'bigint'],
99
});
1010

1111
function main({ n, type }) {
Collapse file

‎benchmark/process/coverage.js‎

Copy file name to clipboardExpand all lines: benchmark/process/coverage.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
const common = require('../common.js');
66
const bench = common.createBenchmark(main, {
7-
n: [1e5]
7+
n: [1e5],
88
});
99
const path = require('path');
1010
const { rmSync } = require('fs');
@@ -21,8 +21,8 @@ function main({ n }) {
2121
env: {
2222
NODE_V8_COVERAGE: coverageDir,
2323
N: n,
24-
...process.env
25-
}
24+
...process.env,
25+
},
2626
});
2727
bench.end(n);
2828
rmSync(coverageDir, { recursive: true, force: true });
Collapse file

‎benchmark/process/memoryUsage.js‎

Copy file name to clipboardExpand all lines: benchmark/process/memoryUsage.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common.js');
44
const bench = common.createBenchmark(main, {
5-
n: [1e5]
5+
n: [1e5],
66
});
77

88
function main({ n }) {
Collapse file

‎benchmark/process/next-tick-breadth-args.js‎

Copy file name to clipboardExpand all lines: benchmark/process/next-tick-breadth-args.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common.js');
44
const bench = common.createBenchmark(main, {
5-
n: [1e7]
5+
n: [1e7],
66
});
77

88
function main({ n }) {
Collapse file

‎benchmark/process/next-tick-breadth.js‎

Copy file name to clipboardExpand all lines: benchmark/process/next-tick-breadth.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common.js');
44
const bench = common.createBenchmark(main, {
5-
n: [1e7]
5+
n: [1e7],
66
});
77

88
function main({ n }) {
Collapse file

‎benchmark/process/next-tick-depth-args.js‎

Copy file name to clipboardExpand all lines: benchmark/process/next-tick-depth-args.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common.js');
44
const bench = common.createBenchmark(main, {
5-
n: [7e6]
5+
n: [7e6],
66
});
77

88
function main({ n }) {
Collapse file

‎benchmark/process/next-tick-depth.js‎

Copy file name to clipboardExpand all lines: benchmark/process/next-tick-depth.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const common = require('../common.js');
33
const bench = common.createBenchmark(main, {
4-
n: [7e6]
4+
n: [7e6],
55
});
66

77
function main({ n }) {
Collapse file

‎benchmark/process/next-tick-exec-args.js‎

Copy file name to clipboardExpand all lines: benchmark/process/next-tick-exec-args.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const common = require('../common.js');
33
const bench = common.createBenchmark(main, {
4-
n: [4e6]
4+
n: [4e6],
55
});
66

77
function main({ n }) {

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.