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 Linux Hardware Reviews
  1. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  2. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  3. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  4. AMD Radeon R9 285 Tonga Performance On Linux
Latest Linux Articles
  1. Ubuntu 14.10 XMir System Compositor Benchmarks
  2. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
  3. Ubuntu 14.10 Linux 32-bit vs. 64-bit Performance
  4. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
Latest Linux News
  1. What Linux Benchmarks Would You Like To See Next?
  2. Open-Source, Linux Support For Corsair Link Devices Slowly Materializing
  3. Cairo-Dock 3.4 Shows A Lot Of Progress, Works Toward EGL/Wayland Support
  4. Mesa 10.4 Tentatively Planned For Early December
  5. SteamOS Update 145 Brings Compositor, Update Fixes
  6. GStreamer 2014 Conference Videos Posted: Wayland, HTML5, 3D
  7. Nouveau Now Supports DRI3 Without GLAMOR
  8. Features Of The Linux 3.18 Kernel
  9. Debian Now Defaults To Xfce On Non-x86 Desktops
  10. Phoenix Is Trying To Be An Open Version Of Apple's Swift
Latest Forum Discussions
  1. Linux hacker compares Solaris kernel code:
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Users/Developers Threatening Fork Of Debian GNU/Linux
  4. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  5. AMD Releases UVD Video Decode Support For R600 GPUs
  6. Proof that strlcpy is un-needed
  7. xbox one tv tuner
  8. Bye bye BSD, Hello Linux: A Sys Admin's Story