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

Manage the Cost of Javascript

mercari
January 25, 2019

Manage the Cost of Javascript

Manage the Cost of Javascript - by Paipo Tang (Front-end engineer @ Mercari)

Tech talk given on the Mercari Global Engineers Meetup on Jan 25, 2019.

mercari

January 25, 2019
Tweet

More Decks by mercari

Other Decks in Technology

Transcript

  1. Outline • How browser works • What is the cost

    of JavaScript • Performance Budget • Experiment performance budget on my project
  2. Time to Interactive “ The Time to Interactive (TTI) metric

    measures how long it takes a page to become interactive ” (Source)
  3. Performance Budget • Metric for things like Javascript bundle size

    and Time to Interactive • Not a one time task • Keep this budget in mind when making decisions
  4. Design Develop Test Performance Budget Check Design Develop Test Performance

    Budget Check Design Develop Test Performance Budget Check