Quick guide to Google closure compiler tool

Google’s closure compiler is an impressive tool that parses JavaScript code and make various optimizations on it, including minimizing its size. This post will provide what is needed to effectively utilize it in minimum time. Step 1 – verify consistant property access methods in your code ∞ The first thing you should do is make …

Continue reading ‘Quick guide to Google closure compiler tool’ »

Javascript Optimizing for Speed

I’m in the process of developing a CPU intensive Javascript game. I found the profilers of the different browsers lacking and needed some higher resolution probing of CPU hogger sections in the code. To this effect I created the timers manager below. Basically at any point in the code where you want to start measuring …

Continue reading ‘Javascript Optimizing for Speed’ »