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

Function fetchBoxes

browsertests/testdata/testflame.js:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 let boxMap;
15 fetchBoxes();
16 function fetchBoxes() {
17 boxMap = new Map();
18 const boxes = document.querySelectorAll(".boxbg");
19 for (let box of boxes) {
20 const text = box.innerText;
21 boxMap.set(text, box);
22 }
23 }
24
25 // rect gets the bounding box for box with text t.
26 function rect(t) {

Callers 1

TestFlameFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…