1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

WebKit's FTL JavaScript Engine Shows Off Potential For LLVM

Compiler

Published on 17 July 2014 09:42 AM EDT
Written by Michael Larabel in Compiler
Comment On This Article

Earlier this year we wrote about Apple working on an LLVM-based JIT compiler for WebKit. This new JIT engine, called "Fourth Tier LLVM" (FTL), is enabled within the latest open-source code for this browser rendering engine and is faster than WebKit's earlier JavaScript implementations.

The WebKit "Fourth Tier LLVM" JavaScript JIT back-end is higher-performing and able to take advantage of new optimization approaches compared to their older back-ends. For those wishing to learn more about it, on the LLVM blog is a new post today about FTL: WebKit’s LLVM based JIT.

Andrew Trick, who wrote the post, said, "This achievement [of enabling the LLVM-based back-end in WebKit] also represents a significant milestone for the LLVM community. FTL makes it clear that LLVM can be used to accelerate a dynamically type checked languages in a competitive production environment. This in itself is a tremendous success story and shows the advantage of the highly modular and flexible design of LLVM. It is the first time that the LLVM infrastructure has supported self-modifying code, and the first time profile guided information has been used inside the LLVM JIT. Even though this project pioneered new territory for LLVM, it was in no way an academic exercise. To be successful, FTL must perform at least as well as non-FTL JavaScript engines in use today across a range of workloads without compromising reliability."

Trick went on to describe at length some of their optimizations and implementation details for their FTL back-end. He concluded with, "WebKit's FTL JIT already shows considerable value in improving JavaScript performance, demonstrating LLVM's remarkable success as a backend for a JavaScript JIT compiler. The FTL project highlights the value of further improving LLVM's JIT infrastructure and reveals several exciting opportunities: improved efficiency of optimization passes and codegen, optimizations targeted toward common idioms present in high level language, enabling more aggressive standard optimizations like vectorization, and extending and formalizing patch point intrinsics. Realizing these goals will require the continued support of the LLVM community and will advance and improve the LLVM project as a whole."

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Turning A Basement Into A Big Linux Server Room
  2. NVIDIA's $1000+ GeForce GTX TITAN X Delivers Maximum Linux Performance
  3. OS X 10.10 vs. Ubuntu 15.04 vs. Fedora 21 Tests: Linux Sweeps The Board
  4. The New Place Where Linux Code Is Constantly Being Benchmarked
  5. 18-GPU NVIDIA/AMD Linux Comparison Of BioShock: Infinite
  6. Phoronix Test Suite 5.6 Adds New Phoromatic Enterprise Benchmarking Features
Latest Linux News
  1. The Big Features Of The Linux 4.0 Kernel
  2. Mesa's Android Support Is Currently In Bad Shape
  3. Wayland's Weston Terminal Can Now Be Minimized
  4. Phoronix - Working Towards Faster Page Loads
  5. Improved OpenCL Support For Blender's Cycles Renderer
  6. Mesa 10.5.2 Packs In A Handful Of Fixes
  7. More Fedora/Ubuntu Linux vs. OS X OpenGL Benchmarks
  8. Intel Adds Mesa IR To NIR Translator & Makes Other NIR Improvements
  9. HAMMER2 Gets A Man Page
  10. Kodi 14.2 Released To End Out The "XBMC" 14.x Series
Most Viewed News This Week
  1. Introducing The Library Operating System For Linux
  2. Allwinner Continues Jerking Around The Open-Source Community
  3. AMD Is Hiring Two More Open-Source Linux GPU Driver Developers
  4. Open-Source Driver Fans Will Love NVIDIA's New OpenGL Demo
  5. Systemd Change Allows For Stateless Systems With Tmpfs
  6. GNOME 3.16 Released: It's Their Best Release Yet
  7. GNOME Shell & Mutter 3.16.0 Released
  8. GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More