Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).

interface PerformanceEntry {
    duration: number;
    entryType: string;
    name: string;
    startTime: number;
    toJSON(): any;
}

Hierarchy (view full)

Properties

duration: number
entryType: string
name: string
startTime: number

Methods

  • Returns any

Generated using TypeDoc