A short tale of how horrible code yields clean performance.
All posts tagged compiler optimizations
Decreasing the Number of Memory Accesses: The Compiler’s Secret Life 2/2
Posted on Author Ivica BogosavljevićPosted in Help the Compiler, Memory Subsystem PerformanceLeave a Reply
We investigate memory loads and stores that the compiler inserts for us without our knowledge: “the compiler’s secret life”. We show that these loads and stores, although necessary for the compiler are not necessary for the correct functioning of our program. And finally, we explain how you can improve the performance of your program by removing them.
Loop Optimizations: interpreting the compiler optimization report
Posted on Author Ivica BogosavljevićPosted in Help the Compiler, Toolchain and Performance5 Replies
We introduce compiler optimization report, a useful tool if you wish to speed up your program by looking at what the compiler failed to optimize.
Why do programs get slower with time?
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Performance, System DesignLeave a Reply
We investigate why software gets slower as new features are added or data set grows and what can you do about it.
Flexibility and Performance
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Help the Compiler, Performance, Standard Library and PerformanceLeave a Reply
In this post we talk about how to write code that is both flexible and fast!