The EventCounts interface of the Performance API provides the number of events that have been dispatched for each event type.
EventCounts
MDN Reference
Readonly
Returns an iterable of entries in the map.
Returns an iterable of key, value pairs for every entry in the map.
Optional
Returns an iterable of keys in the map
Returns an iterable of values in the map
The
EventCountsinterface of the Performance API provides the number of events that have been dispatched for each event type.MDN Reference