Google is good, really good, at rendering JavaScript these days, even pretty inefficient JavaScript. So much so that Martin Splitt from Google said the only time you really need to worry about CPU usage being a problem is when it is such a big issue that your users CPUs get so hot the fans on the computer sounds like it is going to "lift off."...
-
Google: Only Insane CPU Usage Will Limit How It Renders JavaScript
seroundtable.com