[cfe-dev] Clang versus GCC speed
Douglas Gregor
dgregor at apple.com
Fri Nov 20 10:55:39 PST 2009
On Nov 20, 2009, at 10:36 AM, David Chisnall wrote:
> Has anyone done any tests comparing gcc compilation speed to clang
> recently?
Yes.
> I just did some tests with Objective-C programs and found
> clang much slower than GCC 4.2, with an optimized build of LLVM and
> Clang and a stock build of GCC.
This isn't what we're seeing. We're seeing Clang being consistently
faster than GCC 4.2.
Are you certain that you built LLVM and Clang in Release-Asserts?
Debug builds are horribly slow, and Release builds are still a bit
slower than Release-Asserts builds.
- Doug
More information about the cfe-dev
mailing list