--- title: Window.performance slug: Web/API/performance_property translation_of: Web/API/Window/performance original_slug: Web/API/Window/performance ---
The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.
measure()
DOMHighResTimeStamp
duration between two marks along with the associated name (a "measure").getEntriesByType()
getEntriesByType()
getEntriesByName()
clearMarks()
If the markName argument is not specified, this method removes all marks and their associated DOMHighResTimeStamp time values.
If the markName argument is specified, this method removes all DOMHighResTimeStamp time values for the given mark name.
If the markName argument is specified but the specified markName does not exist, this method will do nothing.