Skip to content

Commit a1841a8

Browse files
Remove commitRootId from FlameGraph
1 parent 7fd5489 commit a1841a8

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/view/components/profiler/flamegraph/FlameNode.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export interface Props {
88
selected: boolean;
99
children: any;
1010
parentId: number;
11-
commitRootId: number;
1211
name: string;
1312
onClick: (id: ID) => void;
1413
node: NodeTransform;
@@ -43,8 +42,6 @@ export function FlameNode(props: Props) {
4342
onMouseEnter={onRawMouseEnter}
4443
onMouseLeave={onMouseLeave}
4544
data-id={node.id}
46-
data-commit-root={props.commitRootId}
47-
data-active-commit-root={node.id === props.commitRootId}
4845
data-parent-id={props.parentId}
4946
data-visible={visible}
5047
data-weight={node.weight}

src/view/components/profiler/flamegraph/modes/FlamegraphLayout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export function FlamegraphLayout({
7878
key={pos.id}
7979
onMouseEnter={onMouseEnter}
8080
onMouseLeave={onMouseLeave}
81-
commitRootId={commit.commitRootId}
8281
node={pos}
8382
name={node.name}
8483
selected={pos.id === selected.id}

src/view/components/profiler/flamegraph/ranked/RankedLayout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export function RankedLayout({
7575
return (
7676
<FlameNode
7777
key={pos.id}
78-
commitRootId={commit.commitRootId}
7978
node={pos}
8079
selected={pos.id === selected.id}
8180
parentId={selected.parent}

0 commit comments

Comments
 (0)