Compiling and optimising - effects of different flags on performance of C(++) applications

It is usually the fact that when a C program is compiled using the /O1, /O2 or with another optimisation setting, the performance increases. But what exactly in that flag makes all the difference? Turns out that the answer is not that obvious.
Compiling and optimising - effects of different flags on performance of C(++) applications
Like

Share this post

Choose a social network to share with, or copy the URL to share elsewhere

This is a representation of how your post may appear on social media. The actual post will vary between social networks

Report 5 - Compiling and optimising Laidlaw - my writeup on the research (and other aspects about this scholarship).

And there's a video (produced as part of my scholarship requirements), which can be seen below:


Please sign in

If you are a registered user on Laidlaw Scholars Network, please sign in