new Profiler(inspector): ProfilerAttributes
inspector:
<Inspector>Returns:
<Profiler>Creates an instance of Profiler.
Attributes
inspector:
<Inspector>session:
{Session}
destroy(): Promise<void>Returns:
{Promise
}
hasSession(): booleanReturns:
<boolean>sendCommand(method, params?): Promise<any>Attributes
Returns promise for the result.
startProfiling(): Promise<void> | Promise<[any, any, any]>Returns:
{Promise
| Promise<[any, any, any]>}
stopProfiling(): Promise<{ profile: { endTime: number; startTime: numberReturns:
{Promise<{ profile: { endTime: number; startTime: number } }>}
Returns }>} profile result.
Session{typeof Session}