performance-timing
A straight-forward interface to retrieving performance timing metrics.
What does it do for me?
Retrieve metrics if they are available, otherwise, set up an observer to be resolved with extracted entries, then disconnected.
; const navigation = await ; // PerformanceNavigationTiming{}
More Examples
const firstInpt = await ; // PerformanceEventTiming{}const resources = await ; // [PerformanceResourceTiming{}, ...]
Mixed results
const entries = await ;