[LLVMdev] does clang and llvm take more time to compile c code

Benjamin Kramer
2013-06-27T11:49:27Z

On 27.06.2013, at 13:40, Eric Lu <eirc.lew at gmail.com> wrote:

> Hello, all
>
> When I compile mpeg2enc of Mediabench, it seems clang and llvm take longer
time than gcc. I meausre the time as follow:
>
> gcc -O3   8.190s
> clang  -O3  20.253s
>
> will this means clang and llvm are slower than gcc in compiling c code.

Possibly. The timings are useless without information about the versions of GCC
and clang used and the build configuration (clang is extremely slow when built
without optimization).

- Ben