/dev tips

(98) Do almost anything with the command menu Web Animation API Support with the Animation Inspector (100)

Chrome DevTools: Understand how long pieces of JavaScript took to execute

23 Mar 2016
Understand how long pieces of JavaScript took to execute

The new Source Line Level Profiling feature in Chrome Canary DevTools shows how long a line of JavaScript took to execute.

It's interesting to use this feature on code such as React, Ember.js, Polymer etc. If you combine this with CPU Throttling, you can get a decent representation as to how long a big chunk of JavaScript takes to execute on a low-end device, on page-load alone.

Sign up to receive a developer tip, in the form of a gif, in your inbox each week.