2 ms·
"I've also never seen stats where LLVM beats GCC in execution time of compiled code." http://leonardo-m.livejournal.com/73732.html http://leonardo-m.livejourna
by nostrademons 17y ago
"I've also never seen stats where LLVM beats GCC in execution time of compiled code."
http://leonardo-m.livejournal.com/73732.html http://leonardo-m.livejournal.com/73732.html
http://www.phoronix.com/scan.php?page=article&item=apple_llvm_gcc&num=1 http://www.phoronix.com/scan.php?page=article&item=apple...
Results are mixed, with llvm-gcc generally being slightly slower. There are some benchmarks where it's much slower, and also a few where it's actually faster than GCC. So yeah, there are tasks where LLVM beats GCC in execution time of compiled code.
Rumor has it that parts of Snow Leopard are built with llvm-gcc. Presumably Apple would benchmark both alternatives and only build the parts that are actually faster with LLVM.