Table of Contents

Class SamplingHeapProfileNode

Namespace
Selenium.WebDriver.BiDi.Cdp.HeapProfiler
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

public sealed record SamplingHeapProfileNode : IEquatable<SamplingHeapProfileNode>
Inheritance
SamplingHeapProfileNode
Implements
Inherited Members

Constructors

SamplingHeapProfileNode(CallFrame, double, long, ImmutableArray<SamplingHeapProfileNode>)

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

public SamplingHeapProfileNode(CallFrame CallFrame, double SelfSize, long Id, ImmutableArray<SamplingHeapProfileNode> Children)

Parameters

CallFrame CallFrame

Function location.

SelfSize double

Allocations size in bytes for the node excluding children.

Id long

Node id. Ids are unique across all profiles collected between startSampling and stopSampling.

Children ImmutableArray<SamplingHeapProfileNode>

Child nodes.

Properties

CallFrame

Function location.

public CallFrame CallFrame { get; init; }

Property Value

CallFrame

Children

Child nodes.

public ImmutableArray<SamplingHeapProfileNode> Children { get; init; }

Property Value

ImmutableArray<SamplingHeapProfileNode>

Id

Node id. Ids are unique across all profiles collected between startSampling and stopSampling.

public long Id { get; init; }

Property Value

long

SelfSize

Allocations size in bytes for the node excluding children.

public double SelfSize { get; init; }

Property Value

double