Interface MeasurementResult

Captures the result of a Measurement in a serializable format.

interface MeasurementResult {
    elapsed: number;
    name: string;
    owner?: string;
    startTime: number;
}

Properties

elapsed: number

The elapsed time measured, if it has been stop stopped and measured, or NaN if the platform disabled performance measurement.

name: string

The measurement name. This may show up in the performance measurement framework appropriate to the application context.

owner?: string

An optional label for the application the start of which (in real time) is the basis of all measurements.

startTime: number

The time when the measurement recording has been started