Lines Matching refs:node
517 let node = children[i];
521 if (node.type === "CAT") {
524 row.style.backgroundColor = bucketFromKind(node.type).backgroundColor;
529 c.textContent = (node.ticks * 100 / this.tickCount).toFixed(2) + "%";
533 c.textContent = (node.ticks * 100 / tree.ticks).toFixed(2) + "%";
538 c.textContent = (node.ownTicks * 100 / this.tickCount).toFixed(2) + "%";
547 nameCell.appendChild(createTypeNode(node.type));
548 nameCell.appendChild(createFunctionNode(node.name, node.codeId));
550 node.codeId >= 0 &&
552 this.currentState.file.code[node.codeId].func)) {
553 nameCell.appendChild(createViewSourceNode(node.codeId));
558 c.textContent = node.ticks;
563 c.textContent = node.ownTicks;
566 if (node.children.length > 0) {
568 row.onclick = () => { this.expandTree(node, indent + 1); };
571 node.row = row;
572 node.arrow = arrow;