Class: PerformancePlanUtils
Utils for performance plans
Constructors
constructor
• new PerformancePlanUtils(): PerformancePlanUtils
Returns
Methods
deserializeInto
▸ deserializeInto<P
>(data
, plan
): void
Deserializes a serialized performance plan into a plan
Type parameters
Name | Type |
---|---|
P | extends PerformancePlan |
Parameters
Name | Type | Description |
---|---|---|
data | string | the serialized data string |
plan | P | the plan to deserialize into |
Returns
void
Defined in
src/sdk/performance/PerformancePlan.ts:35
serialize
▸ serialize<P
>(plan
): string
Serializes a plan
Type parameters
Name | Type |
---|---|
P | extends PerformancePlan |
Parameters
Name | Type | Description |
---|---|---|
plan | P | the plan to serialize |
Returns
string
the serialized JSON string
Defined in
src/sdk/performance/PerformancePlan.ts:19