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: skip test-benchmark-os on IBMi · nodejs/node@dbe6c5f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • benchmark/os
    • uptime.js
  • test/benchmark
    • benchmark.status
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎benchmark/os/uptime.js‎

Copy file name to clipboardExpand all lines: benchmark/os/uptime.js
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
'use strict';
22

3+
const os = require('os');
34
const common = require('../common.js');
4-
const uptime = require('os').uptime;
55
const assert = require('assert');
66

7+
const uptime = os.uptime;
8+
79
const bench = common.createBenchmark(main, {
810
n: [1e5],
911
});
1012

1113
function main({ n }) {
14+
if (os.type() === 'OS400') {
15+
console.log('Skipping: os.uptime is not implemented on IBMi');
16+
process.exit(0);
17+
}
18+
1219
// Warm up.
1320
const length = 1024;
1421
const array = [];
Collapse file

‎test/benchmark/benchmark.status‎

Copy file name to clipboardExpand all lines: test/benchmark/benchmark.status
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ prefix benchmark
2020

2121
[$arch==arm]
2222

23-
[$system==ibmi]
24-
test-benchmark-os.js: SKIP
25-

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.