Skip to main content

Class: PerformancePlanUtils

Defined in: src/sdk/performance/PerformancePlan.ts:11

Utils for performance plans

Constructors

Constructor

new PerformancePlanUtils(): PerformancePlanUtils

Returns

PerformancePlanUtils

Methods

deserializeInto()

static deserializeInto<P>(data, plan): void

Defined in: src/sdk/performance/PerformancePlan.ts:35

Deserializes a serialized performance plan into a plan

Type Parameters

Type Parameter
P extends PerformancePlan

Parameters

ParameterTypeDescription
datastringthe serialized data string
planPthe plan to deserialize into

Returns

void


serialize()

static serialize<P>(plan): string

Defined in: src/sdk/performance/PerformancePlan.ts:19

Serializes a plan

Type Parameters

Type Parameter
P extends PerformancePlan

Parameters

ParameterTypeDescription
planPthe plan to serialize

Returns

string

the serialized JSON string