Skip to main content

Class: PerformancePlanUtils

Utils for performance plans

Constructors

constructor

new PerformancePlanUtils(): PerformancePlanUtils

Returns

PerformancePlanUtils

Methods

deserializeInto

deserializeInto<P>(data, plan): void

Deserializes a serialized performance plan into a plan

Type parameters

NameType
Pextends PerformancePlan

Parameters

NameTypeDescription
datastringthe serialized data string
planPthe plan to deserialize into

Returns

void

Defined in

src/sdk/performance/PerformancePlan.ts:35


serialize

serialize<P>(plan): string

Serializes a plan

Type parameters

NameType
Pextends PerformancePlan

Parameters

NameTypeDescription
planPthe plan to serialize

Returns

string

the serialized JSON string

Defined in

src/sdk/performance/PerformancePlan.ts:19