MCPcopy 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
42function 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

benchmarkDefineFunction · 0.85
benchmarkExecuteFunction · 0.85

Tested by

no test coverage detected