Tag Archives: performance

Google Web perfomance initiative.

Gogle initiates a really great project recently: Let’s make the web faster So Optimizing JavaScript code article got in scope of my interest. Conclusions: use [<string>,<string>,<string>].join(“”) for string concatenation (* this is pretty well known rule) use prototype method defining rather than defining method inside closure Creating a closure is significantly slower then creating an inner function without a closure, [...]
Posted in post | Also tagged | Leave a comment

Javascript performance. Array vs Object.

Big JavaScript application needs big storage. JS gives us 2 options Array and Object. I have tested following cases: writing data writing data randomly reading data reading data randomly I have tested this in following browsers: IE FF Chrome I want to point out that i am not comparing browsers. I am comparing two methods of storing data in JavaScript. I have checked perfomance of [...]
Posted in post | Also tagged , , | Leave a comment

Javascript performance summary

I have an idea that Javascript could allow us to improve perfomance of our web applications. Of cause JS is very slow but unlike server side code we can run it on side of our clients. Something like client side cloud-computing. It is jut an idea… for now. Thing i can do right now is to improve [...]
Posted in post | Also tagged , , | Leave a comment