Monday, January 28, 2008

Instant behavior optimization

Today I was working on a site that uses behaviour to attach javascript unobtrusively. Incidentally the site also uses Extjs.

So, I decided to see how much css query engines have improved over time, and replaced the document.getElementsBySelector with and launched firebug's profile.

The homepage loading time dropped from 297ms to 47ms. Pretty neat :)

No comments:

Post a Comment