Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ cb
Function
cb
benchmark/timers/immediate.js:37–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
bench.start();
36
setImmediate(cb);
37
function
cb() {
38
n++;
39
if
(n === N)
40
bench.end(n);
41
else
42
setImmediate(cb);
43
}
44
}
45
46
// setImmediate tail recursion, 1 argument
Callers
15
http
Method · 0.50
oldWay
Function · 0.50
runStores
Function · 0.50
runStores
Function · 0.50
runInAsyncScopes
Function · 0.50
runStores
Function · 0.50
write
Function · 0.50
run
Function · 0.50
write
Function · 0.50
main
Function · 0.50
write
Function · 0.50
write
Function · 0.50
Calls
2
setImmediate
Function · 0.50
end
Method · 0.45
Tested by
no test coverage detected