From 9a06d5b4a3874caa094bff06895c892914eaea93 Mon Sep 17 00:00:00 2001 From: MDN Date: Thu, 30 Sep 2021 00:53:33 +0000 Subject: [CRON] sync translated content --- files/ru/web/api/performance_property/index.html | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 files/ru/web/api/performance_property/index.html (limited to 'files/ru/web/api/performance_property/index.html') diff --git a/files/ru/web/api/performance_property/index.html b/files/ru/web/api/performance_property/index.html new file mode 100644 index 0000000000..74532dea94 --- /dev/null +++ b/files/ru/web/api/performance_property/index.html @@ -0,0 +1,49 @@ +--- +title: Window.performance +slug: Web/API/performance_property +translation_of: Web/API/Window/performance +original_slug: Web/API/Window/performance +--- +
{{APIREf}}
+ +

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.

+ +

Methods

+ +
+
{{domxref("Performance.mark()", "performance.mark()")}}
+
Maps a {{domxref("DOMHighResTimeStamp")}} to a specified name representing the amount of milliseconds elapsed since a reference instant.
+
+ +
+
{{domxref("Performance.now()", "performance.now()")}}
+
Возвращает {{domxref("DOMHighResTimeStamp")}} представляющий количество миллисекунд прошедшее с момента отсчёта.
+
measure()
+
This method stores the 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.
+  

+
+
+ +

Properties

+ +
+
{{domxref("Performance.timing", "performance.timing")}}
+
Is a {{domxref("PerformanceTiming")}} object containing latency-related performance information.
+
{{domxref("Performance.navigation", "performance.navigation")}}
+
Is a {{domxref("PerformanceNavigation")}} object representing the type of navigation that occurs in the given browsing context, like the amount of redirections needed to fetch the resource.
+
performance.memory
+
A non-standard extension added in Chrome.
+
-- cgit v1.2.3-54-g00ecf