Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
LLVM 2.8 is available
Posted Oct 12, 2010 16:09 UTC (Tue) by bronson (subscriber, #4806)
Just curious about real-world experiences.
Posted Oct 12, 2010 17:17 UTC (Tue) by PaXTeam (subscriber, #24616)
i haven't had time for benchmarks (and i don't actually know what would exercise various kernel subsystems/paths well enough, kernel compilation isn't exactly it ;) but based on the generated code and overall code size, clang generates about 3% fatter code than gcc (at least with -Os, i didn't try -O2). as for compile time, i only tested llvm 2.7 last spring and the times for compiling the same kernel/.config were something like this: gcc 4.4.x: 20 mins, llvm-gcc: 18 mins, clang: 16 mins.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds