Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.

Hierarchy

  • EventTarget
    • Performance

Properties

eventCounts: EventCounts

Deprecated

onresourcetimingbufferfull: ((this: Performance, ev: Event) => any)

Type declaration

timeOrigin: number

Deprecated

Methods

  • Parameters

    • Optional markName: string

    Returns void

  • Parameters

    • Optional measureName: string

    Returns void

  • Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • Parameters

    • name: string
    • Optional type: string

    Returns PerformanceEntryList

  • Returns number

  • Parameters

    • maxSize: number

    Returns void

  • Returns any