Edit

Share via


BrowserPerformanceMeasurement class

Constructors

BrowserPerformanceMeasurement(string, string)

Methods

endMeasurement()
flushMeasurement()
flushMeasurements(string, SubMeasurement[])

Flush browser marks and measurements.

startMeasurement()
supportsBrowserPerformance()

Constructor Details

BrowserPerformanceMeasurement(string, string)

new BrowserPerformanceMeasurement(name: string, correlationId: string)

Parameters

name

string

correlationId

string

Method Details

endMeasurement()

function endMeasurement()

flushMeasurement()

function flushMeasurement(): null | number

Returns

null | number

flushMeasurements(string, SubMeasurement[])

Flush browser marks and measurements.

static function flushMeasurements(correlationId: string, measurements: SubMeasurement[])

Parameters

correlationId

string

measurements

@azure/msal-common.SubMeasurement[]

startMeasurement()

function startMeasurement()

supportsBrowserPerformance()

static function supportsBrowserPerformance(): boolean

Returns

boolean