[Mesa-dev] [PATCH 00/11] glsl: Remove unused includes found with IWYU

Brian Paul brianp at vmware.com
Tue Jun 10 16:13:23 PDT 2014


On 06/10/2014 04:39 PM, Thomas Helland wrote:
> Thanks for the review!
>
> These patches, along with 5 more I've put together,
> don't have any significant impact on compile time.
> But that's only 16 files, so it really shouldn't be expected I guess.
> A similar effort on firefox gave a 12.5% compile-time improvement though,
> so eventually we should be seeing some effects. [1]
>
> Where I do see an impact though is recompiling after changes.
> Less object-files needs to be recompiled, so it's often a lot faster.
> I don't have any specific numbers here though.
> [...]
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=903816
> <https://urldefense.proofpoint.com/v1/url?u=https://bugzilla.mozilla.org/show_bug.cgi?id%3D903816&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0A&m=hGI4g4crWugM3Ujx0tkIYi7IhmQiJQXt1M7Y%2F4y7wEI%3D%0A&s=34eb49fb565c45cc44fd98ba76cda68c6230a6a620943ccb5e5c662ad15561d8>

As a side-note, one of the documents about Go talks about C/C++ header 
file inefficiencies:
http://talks.golang.org/2012/splash.article#TOC_5.

It's pretty sobering.

-Brian



More information about the mesa-dev mailing list