From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/ru/web/api/console/profile/index.html | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 files/ru/web/api/console/profile/index.html (limited to 'files/ru/web/api/console/profile') diff --git a/files/ru/web/api/console/profile/index.html b/files/ru/web/api/console/profile/index.html new file mode 100644 index 0000000000..7474ed345c --- /dev/null +++ b/files/ru/web/api/console/profile/index.html @@ -0,0 +1,43 @@ +--- +title: Console.profile() +slug: Web/API/Console/profile +tags: + - АПИ + - Профайлер + - дебаггинг + - профилировщик +translation_of: Web/API/Console/profile +--- +

{{APIRef("Console API")}}{{Non-standard_header}}

+ +

Запускает профайлер, встроенный в браузер (например, Firefox performance tool).

+ +

Вы можете указать аргумент, чтобы назвать профиль, это позволит вам остановить только этот профиль, если записывается несколько профилей. Смотрите {{domxref("Console.profileEnd()")}} чтобы понять, как этот аргумент интерпретируется.

+ +

Останавливает профайлер {{domxref("Console.profileEnd()")}}.

+ +

{{AvailableInWorkers}}

+ +

Синтаксис

+ +
console.profile(profileName);
+
+ +

Параметры

+ +
+
profileName
+
Вы можете указать метку профиля (по желанию).
+
+ +

Совместимость с браузерами

+ + + +

{{Compat("api.Console.profile")}}

+ +

Смотрите также

+ + -- cgit v1.2.3-54-g00ecf