MCPcopy Index your code
hub / github.com/nodejs/node / testFastOs

Function testFastOs

test/parallel/test-os-fast.js:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12const { internalBinding } = require('internal/test/binding');
13
14function testFastOs() {
15 assert.strictEqual(typeof totalmem(), 'number');
16 assert.strictEqual(typeof freemem(), 'number');
17 assert.strictEqual(typeof availableParallelism(), 'number');
18}
19
20eval('%PrepareFunctionForOptimization(testFastOs)');
21testFastOs();

Callers 1

test-os-fast.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…