January 14, 2005

Javascript Optimization.

A compendium of JavaScript optimization techniques, a place where one can turn to find optimization examples, some well known to JavaScript Programmers, and some not so well known. Two, it is also a source of performance information with regard to how these techniques perform in comparison to each other. Lastly, it is intended to address the issue of which programming optimization techniques work as intended in the interpreted environment in which JavaScript code runs.

Some real common-sense items that are spelled out nicely (Limit Work Inside Loops) and some that I never thought of (Reverse Loop Counting). Cool stuff.

Post Info

Tagged As Javascript

Comments are Open (3)

Posted at 01:47 PM

Comments

Dave

A lot of good Javascript optimisation techniques (including Duff's device) can be found in the very excellent book "Speed up your site" by Andrew King. It is one of the most enlightening books on web development I have read.

Geoff

Looks pretty good as far as a general reference of what is fast and slow when using JS, but that page looks like it's a few years old. They are comparing speeds using IE 5.5 and Netscape 4!

Someone should make an updated version using current browsers.

Tony

I would be interested to see if the test changes much in terms of execution. Particularly with Moz. and Safari.

I still think that the practices are sound though.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Search
Comments on this post
Categories
Info
Tony Stephens
Copyright © 1995-2005
Site Version:
10
Licensed:
Creative Commons
Validate:
XHTML, CSS, 508, RSS
Subscribe
Blog-Fu, Link-Fu