Class Profiler
Package: @altmp/altv-types
Syntax
Properties
|
Improve this Doc
View Source
heapStats
Declaration
public readonly static heapStats: IHeapStats
Property Value
|
Improve this Doc
View Source
samplingInterval
Declaration
public static samplingInterval: number
Property Value
|
Improve this Doc
View Source
profilesRunning
Declaration
public readonly static profilesRunning: number
Property Value
Methods
|
Improve this Doc
View Source
startProfiling(string)
Declaration
public static startProfiling(profileName?: string): void
Parameters
Type |
Name |
Description |
string |
profileName |
|
|
Improve this Doc
View Source
stopProfiling(string)
Declaration
public static stopProfiling(profileName?: string): IProfile
Parameters
Type |
Name |
Description |
string |
profileName |
|
Returns
|
Improve this Doc
View Source
getMemoryProfile()
Declaration
public static getMemoryProfile(): void
|
Improve this Doc
View Source
takeHeapSnapshot()
Declaration
public static takeHeapSnapshot(): Promise<string>
Returns
Type |
Description |
Promise<string> |
|