Also known as WarpBuilder, Warp improves responsiveness and memory usage and speeds up page loading by making changes to JiT (just in time) compilers. JiT optimization is changed to rely only on the CacheIR simple linear bytecode format, specifically CacheIR data collected by base levels. The new architecture operated in the browser is also described as being more manageable and unlocking additional improvements to SpiderMonkey.
Basing Warp on CacheIR allowed for the removal of engine-wide code that was needed to track the global type inference data used by IonBuilder, resulting in speedups. Although both IonBuilder and WarpBuilder produce Ion MIR, an intermediate representation used by the JiT optimization backend, IonBuilder had a lot of unnecessary complex code in WarpBuilder. Warp can also do more non-threading work and require fewer recompilations. Plans call for continued optimizations on Warp, which is currently slower than Ion on some synthetic benchmarks.
Copyright Â© 2020 IDG Communications, Inc.