Esta tradução está incompleta. Por favor, ajude a traduzir este artigo do Inglês.

A ferramenta 'Desempenho' mostra-lhe a resposta geral do seu site, o desempenho da disposição e JavaScript. Com esta ferramenta cria um registo, ou perfil, do seu site durante um período do tempo.  A ferramenta depois mostra-lhe um resumo das coisas que o navegador esteva a fazer ao renderizar o seu site sob o perfil, e um gráfico da frame rate sob o perfil.

Tem quatro subferramentas para examinar os aspetos do perfil em mais detalhe:

  • the Waterfall shows the different operations the browser was performing, such as executing layout, JavaScript, repaints, and garbage collection
  • the Call Tree shows the JavaScript functions in which the browser spent most of its time
  • the Flame Chart shows the JavaScript call stack over the course of the recording
  • the Allocations view shows the heap allocations made by your code over the course of the recording. This view only appears if you checked "Record Allocations" in the Performance tool settings.


Iniciação

UI Tour

To find your way around the Performance tool, here's a quick tour of the UI.

How to
Basic tasks: open the tool, create, save, load, and configure recordings

Componentes da ferramenta 'Desemepenho'

Frame rate
Understand your site's overall responsiveness.
Call Tree
Find bottlenecks in your site's JavaScript.
Allocations
See the allocations made by your code over the course of the recording.
Waterfall
Understand the work the browser's doing as the user interacts with your site.
Flame Chart
See which JavaScript functions are executing, and when, over the course of the recording.
 

Cenários

Animating CSS properties
Uses the Waterfall to understand how the browser updates a page, and how animating different CSS properties can affect performance.
 
Intensive JavaScript
Uses the frame rate and Waterfall tools to highlight performance problems caused by long-running JavaScript, and how using workers can help in this situation.

 

 

 

Etiquetas do documento e contribuidores

Etiquetas: 
 Contribuidores para esta página: mansil, wbamberg
 Última atualização por: mansil,