Maglev's New JIT Compiler Boosts Chrome's Performance

Google has unveiled the new Maglev JIT compiler, which will be rolling out for Chrome 114 users on June 5th. The JIT compiler aims to quickly generate high-performance native code for actively used JavaScript code. The inclusion of Maglev allowed us to speed up the Jetstream performance test by 7.5%, and the Speedometer test by 5%.

In addition, the general performance dynamics of Chrome is mentioned:

  • In the Speedometer test, which focuses on evaluating the browser's responsiveness to websites and measuring the execution speed of popular JavaScript libraries, Chrome's score improved from 330 to 491. In addition to switching to Maglev, testing took into account other optimizations made in releases over the past year (since release 101), for example, function call optimizations in the JavaScript engine.
  • In the Jetstream test, designed to test work with advanced JavaScript and WebAssembly web applications, the use of Maglev achieved a score of 330 points (an improvement of 7.5%).
  • In the MotionMark test, which tests the ability of the browser's graphics subsystem to render information at a high frame rate, performance has improved three times since last year. Since the beginning of the year, developers have proposed more than 20 optimizations that speed up the work with graphics in Chrome, of which half are already included in the stable releases codebase. For example, canvas performance has been improved, optimizations based on code profiling have been enabled, scheduling of tasks performed on the GPU side has been improved, layering (compositing) performance has been improved, a new MSAA (Multisample Anti-Aliasing) dynamic anti-aliasing algorithm has been implemented, and 2D canvas rasterization has been removed. into separate processes to parallelize operations.

Source: opennet.ru

Add a comment