Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Link collection for the Compile C++ faster talk

This is a link collection for the talk I held at stockholm c++ meetup where I talked about how to compile c++ faster.

The slides can be found here:

Our environment

Easy methods

Harder methods

Make Clang Faster!

Grab bag

  • -fvisibility=hidden -
  • -fexperimental-new-pass-mananger - This should be combined with the Make Clang Faster topic above. Not so experimental any more - google is using it by default for example.
  • distcc - distributed compiler
  • -ftime-trace get flame graphs for your own code!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.