Quantcast
Channel: Planet Mozilla – Software is hard
Viewing all articles
Browse latest Browse all 27

Support for performance.timing in Firebug

$
0
0

One of the new features introduced in Firebug 1.11 alpha 5 is new waterfall timing graph displayed in Firebug's Console panel and visualizing Navigation Timing data (measured events related to page load performance).

You can see the graph if you execute performance.timing expression in Firebug command line.

From MDN:

The Navigation Timing API provides data that can be used to measure the performance of a website. Unlike other JavaScript-based mechanisms that have been for the same purpose this API can provide end-to-end latency data that can be more useful and accurate.


  • Page Load 948ms Time needed to load the page (from navigationStart to loadEventEnd).
  • Waiting 11ms Waiting for response time (from requestStart to responseStart)
  • Receiving 37ms Time needed to download the response (from responseStart to responseEnd)
  • DOM Processing 883 ms Time needed to build DOM (from responseEnd to loadEventStart
  • DOMContentLoaded 34ms Time needed to handle DOMContentLoaded event (from domContentLoadedEventStart to domContentLoadedEventEnd)
  • onLoad 4ms Time needed to handle onLoad event (from loadEventStart to loadEventEnd)

Some events are visualized using vertical lines on the graph. If you need detailed info about what they represent hover mouse over the graph and check the info tip.

The screenshot also indicates that Performance Timing (Detailed Timing) section is expandable providing detailed information about all events, relative time since the page load beginning and also short description for every individual event.

You can hover mouse over individual entries in this table and see appropriate vertical line dynamically rendered over the waterfall graph to show when exactly the event happened.


If you want to inspect the original values stored in window.performance.timing object, right click on the green object-log at the bottom and pick Inspect in DOM Panel from the context menu.

You should be navigated to the DOM panel and see all the values as they are exposed to the page.

Note that data displayed by the Net panel are collected by Firebug while data stored within performance.timing object are collected by the browser itself.


Do you have any tips how to improve this feature?


Viewing all articles
Browse latest Browse all 27

Trending Articles