Not too long back, Mozilla introduced Firefox Quantum (version 57) which saw the browser get an interface and speed overhaul. With Firefox 58, Mozilla wants to continue boosting the speed, this time with streaming compilation and a new two-tiered WebAssembly compiler. With these two changes, the browser will be able to compile code faster than the network could otherwise deliver it.
Mozilla explains how the new feature works:
Overall, the performance gains from the changes are pretty impressive. On the desktop, Firefox will compile 30-60 megabytes of WebAssembly code per second, and on mobile will compile eight megabytes per second. No matter whether you’re on desktop or mobile you should still see a big increase in the speed of the web; the company says the new compiler is 10 to 15 times faster than the existing optimising compiler.
Firefox 58 is due for release on the stable channel on the 23rd of January, however, the new two-tiered compiler can already be tried on the beta or nightly channels.