The read-only duration property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry.
duration
MDN Reference