BrowserPerformanceMeasurement class

构造函数详细信息

BrowserPerformanceMeasurement(string, string)

new BrowserPerformanceMeasurement(name: string, correlationId: string)

参数

name

string

correlationId

string

方法详细信息

endMeasurement()

function endMeasurement()

flushMeasurement()

function flushMeasurement(): null | number

返回

null | number

flushMeasurements(string, SubMeasurement[])

刷新浏览器标记和度量。

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

参数

correlationId

string

measurements

SubMeasurement[]

startMeasurement()

function startMeasurement()

supportsBrowserPerformance()

static function supportsBrowserPerformance(): boolean

返回

boolean