Skip to content

Commit 755d7e1

Browse files
committed
added console logs in performance view
1 parent b7fd96f commit 755d7e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/components/PerformanceVisx.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ const tooltipStyles = {
7676

7777
// traverses a snapshot for data: rendering time, component type, or rtid
7878
const traverse = (snapshot, fetchData, data = {}) => {
79+
console.log("data in beg of traverse: ", data )
7980
if (!snapshot.children[0]) return;
8081
snapshot.children.forEach((child, idx) => {
8182
const componentName = child.name + -[idx + 1];
@@ -94,6 +95,7 @@ const traverse = (snapshot, fetchData, data = {}) => {
9495
}
9596
traverse(snapshot.children[idx], fetchData, data);
9697
})
98+
console.log("data in end of traverse: ", data )
9799
return data;
98100
};
99101

0 commit comments

Comments
 (0)