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