Web App Optimization
“A sword by itself rules nothing. It only comes alive in skilled hands” (Sir Te; Crouching tiger, Hidden dragon). Heeding the quoted Chinese wisdom, let’s get skilled with how javascript works. You will learn about layout - and it’s reflow or thrashing. You will also discover how you can monitor your app and 3rd party libraries to find a culprit in a sluggish app. You’ll dive into the event queue, and will soar through common design patterns used in the gaming industry to squeeze a little bit more out of your (poor) end user machine.
Optimization is an unavoidable step in complex applications. The question is: at what stage of the application it is done and what is the cost. By understanding what’s behind the javascript engine, one can prevent performance issues by writing better javascript and avoid a big percentage of the optimization phase. In this workshop I will explain about the JS engine, how it works and how it relates to performance. I will then dive into practical examples from real life applications. Using live coding, I will show how to monitor and fix performance issues. At the end of this talk, you will be able to monitor your app’s performance, tackle performance issues and note performance bottlenecks while writing or reading the code.