Guia da IU (Interface do Utilizador)
A 'IU - Interface do Utilizador' da ferramenta desempenho consiste em 4 partes principais:
A barra de ferramentas contém botões para:
- iniciar e parar a gravação
- importar uma gravação anteriormente guardada
- limpar o painel de 'Gravações'. Note que se o fizer, perde quaisquer gravações que não tenha guardado.
- filtrar os marcadores que são exibidos na bisualização de Waterfall
- mude a ferramenta ativa no painel de 'Detalhes'.
- aceder à janela das 'Definições'
The recordings pane lists all the recordings you have loaded, including any you have made in this session and any you have imported.
At any given time, one recording is selected, and that recording is displayed in the rest of the tool. To select a different recording, click its entry in the pane. To save the recording as a JSON file click "Save".
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.
This presents a compressed view of the Waterfall:
Recorded operations are color-coded using the same scheme as in the main Waterfall view.
The frame rate gives you an overview of the browser's responsiveness during the recording:
See the separate article on frame rate.
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:
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:
The Details pane shows whichever tool is currently selected. To switch to a different tool, use the buttons in the Toolbar.
To learn much more about the Waterfall, see the separate Waterfall page.
To learn much more about the Call Tree, see the separate Call Tree page.
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.
The Allocations view is new in Firefox 46.
The Allocations view is like the Call Tree view, but for allocations: it shows you which functions in your page are allocating the most memory over the course of the profile.
The Allocations view only appears if you checked "Record Allocations" in the Performance tool settings, before recording a profile:
To learn much more about the Allocations view, see the separate Allocations page.