BrowserPerformanceMeasurement class
Constructors
Browser |
Methods
end |
|
flush |
|
flush |
Flush browser marks and measurements. |
start |
|
supports |
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