Re: [cfe-users] Question casually profiling Clang vs GCC

2018-08-03 Thread Kim Gräsman via cfe-users
Hi Florian, Precompiled headers are supposed to live side-by-side with their source headers, according to: https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html So you can probably do something like `find /usr/include -name "*.gch"` to see if there are GCC precompiled headers available. (N

Re: [cfe-users] Question casually profiling Clang vs GCC

2018-08-01 Thread Florian Berger via cfe-users
On 01.08.2018 16:29, Jonas Toth via cfe-users wrote: > > very interesting. My experience with normal compilation is, that clang > is faster. Here's the data. It's from a single run each, so it's nowhere near a statistically sound sample. Package GCC Clang Diffe

Re: [cfe-users] Question casually profiling Clang vs GCC

2018-08-01 Thread Jonas Toth via cfe-users
Hi, very interesting. My experience with normal compilation is, that clang is faster. Could it be, that there are some precompiled headers or similar present on the system, that GCC utilizes? Best Regards, Jonas Am 01.08.2018 um 13:23 schrieb Florian Berger via cfe-users: > Hi, > > I am a long