[cfe-dev] Precompiled headers with libclang

Douglas Gregor dgregor at apple.com
Wed Apr 4 08:53:40 PDT 2012

On Apr 4, 2012, at 2:52 AM, Abhanshu Sharma wrote:

> Doug/Chandler, 
> I am seeing a following improvments. Without precompiled preamble, I get latencies of 2s to 3s.  But when it is enabled, I get latencies around ~1s.  Is this the best possible optimization available with libclang? 

It might be. Others have experimented with other optimizations, e.g., turning off instantiation of function templates (which trades some functionality for a decent performance win), but those can't directly be enabled via libclang at this point.

	- Doug

More information about the cfe-dev mailing list