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

Function main

benchmark/worker/bench-eventlooputil.js:18–29  ·  view source on GitHub ↗
({ method, n })

Source from the content-addressed store, hash-verified

16});
17
18function main({ method, n }) {
19 switch (method) {
20 case 'ELU_simple':
21 benchELUSimple(n);
22 break;
23 case 'ELU_passed':
24 benchELUPassed(n);
25 break;
26 default:
27 throw new Error(`Unsupported method ${method}`);
28 }
29}
30
31function benchELUSimple(n) {
32 const worker = new Worker(__filename, { argv: ['idle cats'] });

Callers

nothing calls this directly

Calls 2

benchELUSimpleFunction · 0.70
benchELUPassedFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…