Performance matters to users. Web developers need to build apps that react quickly and render smoothly.
Google performance guru Paul Lewis is here to help you destroy jank and create web apps that maintain 60 frames per second performance.
You'll leave this course with the tools you need to profile apps and identify the causes of jank. You'll explore the browser's rendering pipeline and uncover patterns that make it easy to build performant apps.
Why Take This Course? Demystifying the browser's rendering pipeline will make it easy for you to build high performance web apps. By following a few simple principles, you'll be capable of drastically reducing the browser's workload and time needed to render each frame.
You'll start by getting introduce to the individual steps of the rendering pipeline, beginning with parsing HTML and ending with painting pixels on the screen. Then you'll quickly dive into tooling with ample opportunities to practice profiling and debugging apps with Chrome Developer Tools.
The final project uses the Hacker News API and gives you an opportunity to show off everything you've learned as you turn an awful experience into a high performance web app!
*The News Aggregator App* - Turn an unusable app into a high performance, 60 frame per second experience. You'll be given a news aggregator app that uses the Hacker News API to display the day's top stories. The news aggregator has *lots* of performance issues. You'll demonstrate your understanding of performance by destroying all the jank and creating an experience that users will love.
###Lesson 1 - The Critical Rendering Path
* You'll play Jank Invaders to develop your eye for jank!
* You'll learn how the browser turns HTML into pixels on the page
* You'll learn how different CSS styles affect the rendering pipeline differently.
###Lesson 2 - App Lifecycles
* You'll learn how there are four distinct phases in an app's lifecycle: Response, Animation, Idle and Load (RAIL).
* You'll learn how your frame budget changes depending on where the user is in RAIL.
* You'll practice thinking through app workloads at different stages in RAIL.
###Lesson 3 - Weapons of Jank Destruction
* You'll learn how to make sense of the Timeline panel in Chrome DevTools.
* You'll practice profiling a few different apps to find the source of jank.
* You'll debug a janky copy of a production quality app - the QR Snapper.
###Lesson 5 - Styles and Layout
* You'll learn how accessing the wrong CSS properties at inopportune moments can create loads of extra work for the browser.
* You'll debug multiple instances of one of the nastiest performance problems - Forced Synchronous Layout.
###Lesson 6 - Compositing and Painting
* You'll practice profiling layer and paint performance with the paint profiler tool in the DevTools Timeline.
* You'll manage and optimize layers to reduce the number of steps the browser needs to take to render each frame.
* You'll demonstrate everything you've learned about performance as you de-jankify the News Aggregator App!
MOOCs stand for Massive Open Online Courses. These arefree online courses from universities around the world (eg. StanfordHarvardMIT) offered to anyone with an internet connection.
How do I register?
To register for a course, click on "Go to Class" button on the course page. This will take you to the providers website where you can register for the course.
How do these MOOCs or free online courses work?
MOOCs are designed for an online audience, teaching primarily through short (5-20 min.) pre recorded video lectures, that you watch on weekly schedule when convenient for you. They also have student discussion forums, homework/assignments, and online quizzes or exams.