Constructors
constructor
- new Profiler(inspector?): Profiler
-
Properties
inspector
inspector: any
session
session: any
Methods
destroy
- destroy(): Promise<void>
-
Returns Promise<void>
hasSession
- hasSession(): boolean
-
Returns boolean
sendCommand
- sendCommand(method, params?): Promise<any>
-
Parameters
-
method: string
-
Optional
params: object
Returns Promise<any>
startProfiling
- startProfiling(): Promise<void> | Promise<[any, any, any]>
-
Returns Promise<void> | Promise<[any, any, any]>
stopProfiling
- stopProfiling(): Promise<{
profile: any;
}>
-
Returns Promise<{
profile: any;
}>