Skip to content

Commit 9e58742

Browse files
Remove commitRootId from FlameGraph
1 parent 6bc50f7 commit 9e58742

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
@@ -57,7 +57,6 @@ export function FlamegraphLayout({
5757
key={pos.id}
5858
onMouseEnter={onMouseEnter}
5959
onMouseLeave={onMouseLeave}
60-
commitRootId={commit.commitRootId}
6160
node={pos}
6261
name={node.name}
6362
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)