MCPcopy Create free account
hub / github.com/nodejs/node / findFunctionInProfile

Function findFunctionInProfile

deps/v8/test/inspector/cpu-profiler/console-profile.js:56–59  ·  view source on GitHub ↗
(nodes, functionName)

Source from the content-addressed store, hash-verified

54}
55
56function findFunctionInProfile(nodes, functionName)
57{
58 return nodes.some(n => n.callFrame.functionName === functionName);
59}

Callers 1

checkInnerProfileFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected