Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ main
Function
main
benchmark/test_runner/mock-fn.js:42–48 ·
view source on GitHub ↗
({ n, mode })
Source
from the content-addressed store, hash-verified
40
}
41
42
function
main({ n, mode }) {
43
if
(mode ===
'define'
) {
44
benchmarkDefine(n);
45
}
else
if
(mode ===
'execute'
) {
46
benchmarkExecute(n);
47
}
48
}
Callers
nothing calls this directly
Calls
2
benchmarkDefine
Function · 0.85
benchmarkExecute
Function · 0.85
Tested by
no test coverage detected