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 Ext.DomQuery.select and launched firebug's profile.
The homepage loading time dropped from 297ms to 47ms. Pretty neat :)
No comments:
Post a Comment