Constructors
Protected constructor
-
Properties
Static Readonly heapStats
Static Readonly profilesRunning
profilesRunning: number
Static samplingInterval
samplingInterval: number
Methods
Static getMemoryProfile
-
Returns void
Static startProfiling
- startProfiling(profileName?: string): void
-
Parameters
-
Optional profileName: string
Returns void
Static stopProfiling
- stopProfiling(profileName?: string): IProfile
-
Parameters
-
Optional profileName: string
Static takeHeapSnapshot
- takeHeapSnapshot(): Promise<string>
-
Returns Promise<string>
Sampling interval in microseconds. Defaults to 100.