MCPcopy Create free account
hub / github.com/google/pprof / rect

Function rect

browsertests/testdata/testflame.js:26–33  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

24
25 // rect gets the bounding box for box with text t.
26 function rect(t) {
27 const elem = boxMap.get(t);
28 if (!elem) {
29 test.err("did not find", t);
30 return null;
31 }
32 return elem.getBoundingClientRect();
33 }
34
35 // checkCalls checks that box with text a is positioned w.r.t. box with
36 // text b to indicate a call from a to b. Expect a gap of the specified

Callers 2

checkCallsFunction · 0.85
checkWidthFunction · 0.85

Calls 2

errMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…