CSS preformance

I just reat a pretty cool (and funny) article about performance of CSS selectors.. You shoul read it too:

http://blog.twoalex.com/2010/02/26/a-shocking-truth-about-css/

It is a summary of these two articles:

http://www.stevesouders.com/blog/2009/06/18/simplifying-css-selectors/
http://www.stevesouders.com/blog/2009/03/10/performance-impact-of-css-selectors/

P.S.

It is pretty cool to look at this table (last link), it makes me think a lot (please compare Google to Facebook)!

Web Site # CSS Rules
#DOM Elements
AOL 2289 1628
eBay 305 588
Facebook 2882 1966
Google 92 552
Live Search 376 449
MSN 1038 886
MySpace 932 444
Wikipedia 795 1333
Yahoo! 800 564
YouTube 821 817
average 1033 923

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Home
Twitter Facebook Flickr Vimeo About me Email me