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

Function main

benchmark/timers/immediate.js:9–30  ·  view source on GitHub ↗
({ n, type })

Source from the content-addressed store, hash-verified

7});
8
9function main({ n, type }) {
10 switch (type) {
11 case 'depth':
12 depth(n);
13 break;
14 case 'depth1':
15 depth1(n);
16 break;
17 case 'breadth':
18 breadth(n);
19 break;
20 case 'breadth1':
21 breadth1(n);
22 break;
23 case 'breadth4':
24 breadth4(n);
25 break;
26 case 'clear':
27 clear(n);
28 break;
29 }
30}
31
32// setImmediate tail recursion, 0 arguments
33function depth(N) {

Callers

nothing calls this directly

Calls 6

depth1Function · 0.85
breadthFunction · 0.85
breadth1Function · 0.85
breadth4Function · 0.85
depthFunction · 0.70
clearFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…