Paul Irish
commented on
Speed Up Your JavaScriptGotcha. It’s certainly hard to estimate how many scope chain hops you have in your entire application. :)
Thanks for the detail.6 months ago
Paul Irish
commented on
Speed Up Your JavaScriptI’ve often wondered about scope chain traversing. It’s mentioned in a number of javascript optimization recommendations, but I hadn’t seen any data on it until here (slides 17-18).
So if this data is over 200,000 iterations, and the worst delta is 20ms for 1 chain traverse, then we’re looking at ~0.0001ms per. Right?
And really only IE that has a measurable difference. I guess I’m not convinced yet that this has much impact. :/6 months ago
Comments