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

Ember SV August 2018: It's Easy To Measure Performance In Ember

Ember SV August 2018: It's Easy To Measure Performance In Ember

Tracking how fast your application loads can be a daunting prospect. Constructing that data with enough accuracy and granularity to be actionable sounds even worse. Thankfully, we have the tools in Ember to make instrumentation a breeze! We'll explore what the Ember ecosystem has to offer for performance measurement, as well as some real-world examples of how to put these techniques into practice. You'll walk away knowing how to get the data you need to optimize your Ember app!

Jordan Hawker

August 28, 2018
Tweet

More Decks by Jordan Hawker

Other Decks in Programming

Transcript

  1. Performance @ Twitch •  Poor performance impacts business metrics • 

    Backend instrumentation highlights multiple opportunities •  How can we understand the real user experience?
  2. Web Application Performance It’s Complicated… •  What does that even

    mean? •  Response Time •  Throughput •  Availability •  Responsiveness •  Rate of Requests •  Resource Consumption •  Efficiency •  Latency Photo by Denys Nevozhai on Unsplash
  3. Instrumenting Ember •  Framework internals allow for greater granularity • 

    @ember/instrumentation •  subscribe(‘render’) •  Can we approximate this without introducing overhead? •  Enter Ember’s runloop…
  4. What We Learned •  Define the critical path •  Defer

    non-critical components •  Identify bottleneck components •  Holistic user-centric metrics will reflect improvements across the entire tech stack Photo by _HealthMond . on Unsplash
  5. The Path Forward •  Leverage multiple tools for instrumentation and

    measurement •  Capture real user metrics •  Use framework-aware tools for more granular data •  Ember-Interactivity •  Ember-Perf / Ember-Perf-Handlebars •  Ember-Perf-Timeline What Can You Do? Photo by Geran de Klerk on Unsplash