New Ruby Benchmarks On GCC vs. LLVM Clang Compilers

Written by Michael Larabel in LLVM on 17 December 2014 at 11:10 AM EST. 12 Comments
LLVM
Earlier this month were the independent benchmark results that saw Ruby built under Clang was faster than GCC when a developer running Debian was doing some basic compiler performance tests. Now another developer has done more extensive Ruby benchmarks on varying versions of GCC and Clang.

Peter Wilmott posted some benchmarks today that ran the Ruby Benchmark Suite on GCC 4.4, 4.7, 4.8 and 4.9. He also ran the same tests on LLVM Clang 3.2, 3.3, 3.4, and 3.5. Tests were done from Amazon's cloud with a m3.medium instance type.

Wilmott's benchmark results show that GCC 4.7/4.8 had close performance to Clang 3.2/3.3 and that the performance of GCC's newest stable series -- GCC 4.9 -- was noticeably faster than the other GCC and Clang versions benchmarked. For Ruby, the -O2 optimization level tended to be better too than -O3.

Full details via this blog post.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week