Johnny's Software Lab

Johnny's Software Lab

We help you deliver fast software

  • Home
  • Performance
    • 2 Minute Reads
    • C++ Performance
    • Standard Library and Performance
    • Algorithms and Performance
    • Toolchain and Performance
    • Help the Compiler
    • Performance Analysis Tools
    • Computational Performance
    • Low Level Performance
    • Parallelization
    • Multithreaded Performance
    • Performance Contest
  • Debugging
  • Developer Tools
  • Need help?
  • Talks
  • Contact
  • About us
Menu

All posts in Toolchain and Performance

Loop Optimizations: taking matters into your hands

Loop Optimizations: taking matters into your hands

Posted on October 9, 2021December 5, 2022Author Ivica BogosavljevićPosted in Help the Compiler, Performance, Toolchain and PerformanceLeave a Reply

We try to answer two questions related to compiler optimizations: how can you help the compiler do a better job and when does it make sense to do the compiler optimizations manually.

Loop Optimizations: how does the compiler do it?

Loop Optimizations: how does the compiler do it?

Posted on September 19, 2021March 19, 2022Author Ivica BogosavljevićPosted in Help the Compiler, Performance, Toolchain and Performance2 Replies

We investigate what are the techniques your compiler employs to make your loop run faster.

Tune your program’s speed with profile guided optimizations

Tune your program’s speed with profile guided optimizations

Posted on September 5, 2020March 19, 2022Author Ivica BogosavljevićPosted in Performance, Toolchain and PerformanceLeave a Reply

Profile guided optimizations are a compiler-supported optimization technique that is easy to use and will make your program run faster with little effort. Here you will learn how to enable it on your project and what kind of improvements you can expect.

Make your programs run faster: avoid function calls

Make your programs run faster: avoid function calls

Posted on June 12, 2020March 19, 2022Author Ivica BogosavljevićPosted in Help the Compiler, Low Level Performance, Performance, Toolchain and PerformanceLeave a Reply

Function calls are not cheap operations and for time critical code it is better to avoid them. This article explores techniques you can use to avoid function calls thus speeding up your code.

Link Time Optimizations: New Way to Do Compiler Optimizations

Link Time Optimizations: New Way to Do Compiler Optimizations

Posted on May 27, 2020February 7, 2023Author Ivica BogosavljevićPosted in Memory Footprint, Performance, Toolchain and Performance3 Replies

Traditional compilation-linking cycle generates binaries that work fine, but in case you need more speed, you need to learn about link time optimizations. Here we talk about what link time optimizations are, how to enable them and what improvements to expect.

Like what you’re reading? Follow us!

  • Decreasing the Number of Memory Accesses 1/2
  • Frugal Programming: Saving Memory Subsystem Bandwidth
  • For Software Performance, the Way Data is Accessed Matters!
  • What is faster: vec.emplace_back(x) or vec[x] ?
  • When an instruction depends on the previous instruction depends on the previous instructions… : long instruction dependency chains and performance

Recent Posts

  • Decreasing the Number of Memory Accesses 1/2
  • Frugal Programming: Saving Memory Subsystem Bandwidth
  • For Software Performance, the Way Data is Accessed Matters!
  • What is faster: vec.emplace_back(x) or vec[x] ?
  • When an instruction depends on the previous instruction depends on the previous instructions… : long instruction dependency chains and performance

Recent Comments

  • Ivica Bogosavljević on Make your programs run faster by better using the data cache
  • v1993 on Make your programs run faster by better using the data cache
  • Ivica Bogosavljević on Decreasing the Number of Memory Accesses 1/2
  • gfrthjtuzkjziukl on Decreasing the Number of Memory Accesses 1/2
  • Ivica Bogosavljević on Decreasing the Number of Memory Accesses 1/2

Archives

  • February 2023
  • January 2023
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020

Categories

  • 2 Minute Reads
  • Algorithms and Performance
  • C++ Performance
  • Computational Performance
  • Data Structure Performance
  • Debugging
  • Developer Tools
  • Help the Compiler
  • Kernel Space and Performance
  • Low Level Performance
  • Memory Footprint
  • Memory Subsystem Performance
  • Multithreaded Performance
  • Parallelization
  • Performance
  • Performance Analysis Tools
  • Performance Contest
  • Reliability
  • Standard Library and Performance
  • System Design
  • Toolchain and Performance

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

©2023 Johnny's Software Lab | WordPress Theme by Superb WordPress Themes