1. Purpose
Performance Timeline [PERFORMANCE-TIMELINE-2] defines primitives that
enable web developers to access, instrument, and retrieve various performance
metrics from the full lifecycle of a web application. The performance data of
various metrics is hosted in PerformanceEntry
objects. The type of interface for a PerformanceEntry object is
identified with entryType.
This registry is intended to provide a central location for enumerating
identified interface types of PerformanceEntry object.
2. Registration Entry Requirements and Update Process
- Each entry type must include a unique identifier used by
entryType, where the scope of uniqueness is theentryTypeitself. - Each entry type should include a link that references a public available specification (PAS) that defines the associated interface type.
- Each entry type must include contact information of the requestor.
- Each entry type must include an
availableFromTimelineboolean indicating whether this entry type is available from thePerformanceinterface. - Each entry type must include a
maxBufferSizeindicating the maximum buffer size for this entry type. -
Each entry type must specify an algorithm
should add entry which,
given a
PerformanceEntryentry of the entry type and optionally aPerformanceObserverInitoptions of an observer observing that entry type, determines the following:- If options was not provided, whether entry is eligible to be added to the performance timeline, regardless of limitations in the buffer size.
- Otherwise, given registered performance observer regObs containing options in its options list, whether entry must be appended to regObs’s observer’s observer buffer.
An update to this registry is one of the following:
- An addition or deprecation of an identifier. Removal of identifiers is strongly discouraged.
- An addition, change, or removal of a column to the table. The column containing identifiers must not be removed or changed.
Any person can request an update to this registry by pull requests to the timing-entrytypes-registry repository. The Web Performance Working Group will place it on an upcoming meeting agenda and notify the requestor. Consideration and disposition of the request is by consensus of the W3C Web Performance Working Group. The Chair will then notify the requestor of the outcome and update the registry accordingly.
3. Registry
This section is the registry of identified entryType
values for performance timeline interfaces [PERFORMANCE-TIMELINE-2].