From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/console/profile/index.html | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 files/fr/web/api/console/profile/index.html (limited to 'files/fr/web/api/console/profile/index.html') diff --git a/files/fr/web/api/console/profile/index.html b/files/fr/web/api/console/profile/index.html new file mode 100644 index 0000000000..e35031d483 --- /dev/null +++ b/files/fr/web/api/console/profile/index.html @@ -0,0 +1,42 @@ +--- +title: Console.profile() +slug: Web/API/Console/profile +tags: + - API + - DOM + - Méthodes + - Profils + - débogage +translation_of: Web/API/Console/profile +--- +

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

+ +

Commence l'enregistrement d'un profil de performance (par exemple, l'outil performance de Firefox).

+ +

Vous pouvez éventuellement fournir un argument pour nommer le profil, ce qui vous permet d'arrêter uniquement ce profil si plusieurs profils sont enregistrés. Voir {{domxref("Console.profileEnd()")}} pour voir comment cet argument est interprété.

+ +

Pour arrêter l'enregistrement, appeler {{domxref("Console.profileEnd()")}}.

+ +

{{AvailableInWorkers}}

+ +

Syntaxe

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

Paramètres

+ +
+
profileName
+
Le nom à donner au profil. Facultatif.
+
+ +

Compatibilité des navigateurs

+ +

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

+ +

Voir aussi

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