Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



Yep, I don't have the energy tonight to inspect the source code, but how you write js matters a lot.

Little things like hoisting local variables out of the prototype and closure chains can make a massive difference.

I did some experiments with hot path js optimization several years ago and was pretty surprised at the performance you can squeeze out of the jitter.

Js is notorious for being difficult to do good perf analysis on because of the warming and hot path analysis. From my experiments it can sometimes take many seconds from startup for the jitter to kick in on a tight loop.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: