Re:JavaScript Performance MythBusters (via jsPerf)
by jdd on Saturday March 17, 2012 @03:01PM
(#3717862)
You're right that there isn't a real perf win as each are millions of ops/sec vs more-millions and not likely to matter in real world use.
[ Parent
| on HN ]
Re:JavaScript Performance MythBusters (via jsPerf)
by gcb on Saturday March 17, 2012 @09:19PM
(#3718777)
Real world usage is relative.
In my real world case a change in loop mattered a lot for ie6 users (60% of our use base at the time, sadly). It was .5sec that we couldn't get from other means.
Re:JavaScript Performance MythBusters (via jsPerf)
by jdd on Saturday March 17, 2012 @09:31PM
(#3718804)
I doubt millions vs more-millions of ops/sec is ever going to be a real problem for anyone as engines are only getting faster.
I've never heard someone say "Oh yeah, the bottleneck in our app was our use of `==`".
The loops slides were more about modern engines not IE6 :P
I've had mandated IE6 support before, and still support it in my personal JS libs, so I feel your pain.