Javascript Performance

This talk will start out by looking at various tools we can use to measure the performance of our javascript code. We will then dive into browser internals and take a look at how the browser UI thread time shares between javascript execution and rendering of things on the screen and how this behavior can impact perceived performance. We will discuss optimal ways of manipulating the DOM and also discuss performance of various constructs available in javascript code to store and access data like literals, variables, collections etc and the impact of scope and identifier resolution on the speed at which we can read and write data. Further we’ll discuss performance of various flow control constructs like loops, conditionals and functions. Finally we’ll look at several tips and tricks that we can use in different scenarios for optimal performance.

This post was submitted by mrinal.

Comments

Leave a Reply