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

Prestaties

Deze vertaling is niet volledig. Help dit artikel te vertalen vanuit het Engels.

The Performance tool gives you insight into your site's general responsiveness, JavaScript and layout performance. With the Performance tool you create a recording, or profile, of your site over a period of time. The tool then shows you an overview of the things the browser was doing to render your site over the profile, and a graph of the frame rate over the profile.

You get three sub-tools to examine aspects of the profile in more detail:

  • 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.


Getting started

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

Components of the Performance tool

Frame rate
Understand your site's overall responsiveness.
Call Tree
Find bottlenecks in your site's JavaScript.
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.
 

Scenarios

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.

 

 

 

Documentlabels en -medewerkers

 Aan deze pagina hebben bijgedragen: Volluta
 Laatst bijgewerkt door: Volluta,