Slide 1

Slide 1 text

Google I/O Report Yixin Xu @xingoxu LINE Corporation Google I/O 2019 Recap at LINE

Slide 2

Slide 2 text

Topic • Site Performance and Lighthouse

Slide 3

Slide 3 text

Site Performance • Many companies shared their dev choices and architecture and improvement. (including japanese companies) • Google improved Lighthouse with new design and new Lightwallet and introduced web.dev

Slide 4

Slide 4 text

Site Performance - How Twitter thinks • Responsive • Mobile first • One codebase

Slide 5

Slide 5 text

Site Performance - What Twitter got (Compared with 2017) • 30% Faster in launch time • 3x increase in Tweets sent from Twitter PWA since launch • 5 million Installs of Twitter Lite

Slide 6

Slide 6 text

Site Performance - How Twitter did on JavaScript • Route-based Code-Splitting • Component Based Design • Lazy-load • Translations • Emoji picker • All Resources < 3MB • Build tracker comments on PRs with a detailed breakdown of changes help engineers to review PRs by using this info and logs the size of all production builds

Slide 7

Slide 7 text

Site Performance - How Twitter did on other things • Brotli • • • Image compress with Pixel density • Data Saver Mode (Dynamic Load Images) • Compress Image in browser when uploading

Slide 8

Slide 8 text

Site Performance - Advices Google gives

Slide 9

Slide 9 text

Site Performance - What did Twitter say • Unify • Progressive Enhancement isn’t just APIs • Start with a solid foundation • Tackle the core experience first, get feedback at each step. • Identify your customers • How do they vary, be specific (Adaptive serving) • Provide progressive enhancements to reach all customers • Customize the experience to each device and each “param”

Slide 10

Slide 10 text

Lighthouse • A tool measure performance. • Google is going to use it everywhere to measure your website and use it to rank your site on Google Search. • And Google is using it when you submit a web application to Google Play store. • Updated to 5.0 from Google I/O.

Slide 11

Slide 11 text

Site Performance - About Time

Slide 12

Slide 12 text

Lighthouse - Overview

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Lighthouse - Metric in development • Layout stability • Largest Contentful Paint

Slide 15

Slide 15 text

Lighthouse - Lightwallet • When we know the meaning of time, but we don’t have a tool to know how much data we can loaded in that time. -> Performance Budget – A Indication of resources can be loaded in that time. • We have a standard or indication about how much data, we considered to add that standard into lighthouse when we are testing our site. -> Lightwallet

Slide 16

Slide 16 text

Lightwallet - Performance Budgets

Slide 17

Slide 17 text

Lightwallet - How Performance Budgets shows in Report

Slide 18

Slide 18 text

Lightwallet - How to use

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

References - Check these links for more info and origin videos • Site Performance • Building Successful Websites: Case Studies for Mature and Emerging Markets (Google I/O ’19) • Speed at Scale: Web Performance Tips and Tricks from the Trenches (Google I/O ’19) • Lighthouse and Lightwallet • Demystifying Speed Tooling (Google I/O ’19)

Slide 21

Slide 21 text

Thank you! That‘s all.