"most code doesn’t even run once which is why JS engines wait for a function to be run before even fully parsing it" https://blog.mozilla.org/luke/2014/01/14/asm-js-aot-compilation-and-startup-performance/