CSS selector speed optimizations

Are really no science - simple is always faster. Why? Because contrary to popular belief - selector rules are interpreted right to left - so a selector hierarchy doesn't make sense. After reading yet another article (linked below) on that subject today - I decided to test it once and for all.

So what would you say is faster?
.article #comments ul > li > a.button vs just .button

Easy right? Keep it simple stupid - and here's my JSPerf test to prove it too (http://bit.ly/MmFZ13). Did not expect it to be 40% faster though ;-)

#css     #css3   #cssselector   #benchmarking   #optimization     #stylesheet  
Shared publiclyView activity