Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new in Chrome DevTools?

Addy Osmani
September 28, 2015

What's new in Chrome DevTools?

📹Video: https://www.youtube.com/watch?v=XpGa6IzmmQg

Presented at FITC Web Unleashed 2015, Toronto.

As the complexity of the web apps you build keeps moving, so do the Chrome DevTools. In this session, I will give you the latest update on your favourite companion; exploring new features in performance profiling, animation inspection and updates to the JavaScript editing workflow with V8. You’ll walk out of the session with a huge advantage in productivity, speed, and precision when developing, debugging, and improving your web applications.

Addy Osmani

September 28, 2015

More Decks by Addy Osmani

Other Decks in Programming


  1. First, we realised the Console panel is used pretty frequently.

    So, it’s now the 2nd tab, right after Elements.
  2. Next, we wanted to give you the flexibility to rearrange

    tabs (using drag-and-drop) to suit your workflow. Now supported!
  3. Earlier this year, we enabled syntax highlighting in Console too.

    ES2015 code looks so much better there now.
  4. We’ve continued to evolve Device Mode for mobile webapp testing.

    More on our improvements here a little later.
  5. We need a better way to frame the performance conversation.

    Something that quantifies each stage of the user experience.
  6. Let’s first look at new ways to help with Load

    profiling in the Network panel.
  7. Before you marry a person you should first make them

    use a computer with slow Internet to see who they really are.
  8. There are a ton of Web fonts in this page.

    All needed? * used the WhatFont extension to inspect
  9. 3G: First meaningful paint now ~ 5.6s in * this

    was a quick test and may not be indicative of the real possible gains. They’re likely nuanced :)
  10. Long frame times indicate the presence of jank in your

    page. Watch out for the red triangles.
  11. On scroll, new stories are loaded in and a colorisation

    effect is applied depending on load ‘state’
  12. Here’s a piece of work blowing our frame budget. We

    can attribute part of it to this colorizeAndScaleStories() function.
  13. Digging into the source, we’re querying the DOM and making

    style changes to *all* our story tiles every time we scroll. Oops.
  14. A little more work to do, but the overall experience

    is way smoother than it was before.
  15. In the real-world, if you really wanted to keep the

    effect schedule this work more appropriately.
  16. Check 'Paint' for detailed paint records. Selecting a paint record

    gets you access to the Paint Profiler for that frame.
  17. Rotate, zoom or drag layers to explore their content. Hovering

    over a layer reveals the current position on the page. Right-click to jump to the node in 'Elements'.
  18. Click the 'paint profiler' link to see what got painted,

    how long it took and see the individual paint calls.
  19. Animation Inspection * Note this feature is behind an experiment

    atm. Enable DevTools experiments in about:flags, relaunch & then turn this on via Settings > Experiments.
  20. ES2015 Promises Inspector * Note this feature is behind an

    experiment atm. Enable DevTools experiments in about:flags, relaunch & then turn this on via Settings > Experiments.