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

Function countNodes

deps/v8/test/mjsunit/tools/profile.mjs:51–55  ·  view source on GitHub ↗
(profile, traverseFunc)

Source from the content-addressed store, hash-verified

49
50
51function countNodes(profile, traverseFunc) {
52 var count = 0;
53 traverseFunc.call(profile, function () { count++; });
54 return count;
55};
56
57
58function ProfileTestDriver() {

Callers 1

profile.mjsFile · 0.85

Calls 1

callMethod · 0.45

Tested by

no test coverage detected