Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

UI Tour

Cette traduction est incomplète. Aidez à traduire cet article depuis l'anglais.

La plateforme d'outils se découpe en 4 parties principales:

Outil

La boite à outils contient les bouttons pour:

  • commencer et arrêter l'enregistrement
  • importer les enregistrements de vos sauvegardes précédentes
  • nettoyer le volet d'enregistrements. à noter que si vous faîtes cela, vous perdrez tout ce que vous n'avez pas sauvegardé.L.
  • filtrer les markers that are displayed in the Waterfall view
  • switch the active tool in the Details pane.
  • access the Settings popup

Recordings pane

The recordings pane lists all the recordings you have loaded, including any you have made in this session and any you have imported.

Pour un temps donné, un enregistrement est sélectionné, et cet enregistrement est affiché dans le reste de l'outil. Pour sélectionner un enregistrement différent, cliquer sur son entrée dans le panneau. Pour sauvegarder l'enregistrement en tant que fichier d'extension JSON, appuyer sur "Save".

Vue d'ensemble de l'enregistrement

Ceci affiche une vue d'ensemble de la totalité de l'enregistrement.This displays an overview of the entire recording, with the x-axis representing time.

It contains two elements: an overview of the Waterfall and a frame rate graph.

Waterfall overview

This presents a compressed view of the Waterfall:

Recorded operations are color-coded using the same scheme as in the main Waterfall view.

Frame rate graph

The frame rate gives you an overview of the browser's responsiveness during the recording:

See the separate article on frame rate.

Correlating events

Because these elements are synchronized, you can correlate events in one element with events in another.

For example, in the screenshot below a long-running paint operation (shown as a green bar in the waterfall overview) corresponds to a drop in the frame rate:

Zooming in

You can use the overview to select a slice of the recording to examine in more detail. Select a slice, and the main view will be updated to contain just the part selected. In the screenshot below we've selected that drop in the frame rate, and can see the long-running paint operation in more detail:

Details pane

The Details pane shows whichever tool is currently selected. To switch to a different tool, use the buttons in the Toolbar.

Waterfall

The Waterfall presents a view of the work the browser is doing during the recording: executing JavaScript, updating the CSS, updating the page layout, and performing repaints. The x-axis represents time, and the recorded operations are laid out as a waterfall, reflecting the serial nature of the browser's execution.

To learn much more about the Waterfall, see the separate Waterfall page.

Call Tree

The Call Tree is a sampling profiler for JavaScript running in the page. It periodically samples the state of the JavaScript engine, and records the stack for the code executing at the time the sample was taken. Statistically, the number of samples taken in which we were executing a particular function corresponds to the amount of time the browser is spending executing it, so you can identify bottlenecks in your code.


To learn much more about the Call Tree, see the separate Call Tree page.

Flame Chart

If the Call Tree tells you, statistically, which functions your site is spending most time executing across the whole recording, the Flame Chart tells you the call stack at any given point during the recording:

To learn much more about the Flame Chart, see the separate Flame Chart page.

Étiquettes et contributeurs liés au document

 Contributeurs à cette page : axel8591
 Dernière mise à jour par : axel8591,