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

Web Perf like it's 2017 - London Node Meetup

Avatar for Csaba Palfi Csaba Palfi
November 14, 2017

Web Perf like it's 2017 - London Node Meetup

What's the current state of the art in web performance analytics? What's worth measuring and how? Let's focus on the user experience!

Avatar for Csaba Palfi

Csaba Palfi

November 14, 2017

More Decks by Csaba Palfi

Other Decks in Technology

Transcript

  1. Web Perf like it's Web Perf like it's 2017 2017

    ⚡ = ⚡ = fast or driving customers away 1 . 1
  2. Csaba Palfi Csaba Palfi doing web for ~10 years ex-(Hotels.com

    • Yahoo! • FT.com • trainline + YLD...) now: HomeAway.com @csabapalfi 1 . 2
  3. Today we're going to talk about... tips and tricks tips

    and tricks ⏱ measurements ⏱ measurements 1 . 4
  4. const observer = new PerformanceObserver((list) => { // ... list.getEntries()

    }); observer.observe({entryTypes: ['resource']}); 1 . 15
  5. happening? happening? first pixel on the screen? Start Render -

    webpagetest.org N/A explicitly - LightHouse 1 . 17
  6. entryTypes: ['longtask'] long task: an event loop task that exceeds

    50ms https://w3c.github.io/longtasks/ 1 . 26
  7. smooth? smooth? eventListeners execute quickly? Estimated Input Latency - LightHouse

    N/A - webpagetest.org performance.now() - event.timeStamp; 1 . 28
  8. Summary Summary think about performance in terms UX leverage user-centric

    metrics use synthethic testing to prevent regressions verify your performance with real user monitoring 1 . 38