Scary beautiful.

This is a graph of include statements in a project I'm currently working on.
I generated this because I'm trying to reduce the time it takes to compile, and I like the look of the dot produced graph, so I wanted to share it.

The small squares are source files, and there brightness indicates how many headers they include.

The circles are header files, and there brightness tells how often they are included during a clean build.

I'm currently playing with include-what-you-use to clean up the code a bit, and after running it on parts of the code tree, it reduced the build time with almost 30%. Not bad!

No comments:

Post a Comment