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

Function main

benchmark/streams/iter-creation.js:20–29  ·  view source on GitHub ↗
({ api, type, n })

Source from the content-addressed store, hash-verified

18});
19
20function main({ api, type, n }) {
21 switch (api) {
22 case 'classic':
23 return benchClassic(type, n);
24 case 'webstream':
25 return benchWebStream(type, n);
26 case 'iter':
27 return benchIter(type, n);
28 }
29}
30
31function benchClassic(type, n) {
32 let tmp;

Callers

nothing calls this directly

Calls 3

benchClassicFunction · 0.70
benchWebStreamFunction · 0.70
benchIterFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…