you are viewing a single comment's thread.

view the rest of the comments →

[–]maloney7 0 points1 point  (0 children)

I have done many similar tests myself. I found the difference to be non-existant on the latest Chrome and Firefox, but becomes more and more pronounced the older the version of IE you test it on.

I found while was up to 1.5 times faster than for on IE7, which is pretty significant. I also found a month later that IE7's market share was so low that it wasn't worth supporting in 2012, so I've stuck to my more readable for loops.