[cfe-dev] Precompiled headers with libclang
dgregor at apple.com
Wed Apr 4 08:53:40 PDT 2012
On Apr 4, 2012, at 2:52 AM, Abhanshu Sharma wrote:
> 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.
More information about the cfe-dev