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 tagged virtual functions

“Premature optimization is the root of all evil”. Or is it?

“Premature optimization is the root of all evil”. Or is it?

Posted on April 12, 2021March 19, 2022Author Ivica BogosavljevićPosted in C++ Performance, PerformanceLeave a Reply

We investigate the topic of premature optimizations, or more specifically, in what cases you want to think early about performance.

The true price of virtual functions in C++

The true price of virtual functions in C++

Posted on February 21, 2021April 8, 2023Author Ivica BogosavljevićPosted in C++ Performance, Performance12 Replies

We talk about virtual functions, and how the performance of software with virtual functions depends on many factors: the cost of additional instructions, cache misses, branch prediction misses, instruction cache misses and compiler optimizations.

Like what you’re reading? Follow us!

  • Multithreading and the Memory Subsystem
  • Speeding Up Translation of Virtual To Physical Memory Addresses: TLB and Huge Pages
  • Faster hash maps, binary trees etc. through data layout modification
  • Performance Through Memory Layout
  • Measuring Memory Subsystem Performance

Recent Posts

  • Multithreading and the Memory Subsystem
  • Speeding Up Translation of Virtual To Physical Memory Addresses: TLB and Huge Pages
  • Faster hash maps, binary trees etc. through data layout modification
  • Performance Through Memory Layout
  • Measuring Memory Subsystem Performance

Recent Comments

  • Ivica Bogosavljević on For Software Performance, the Way Data is Accessed Matters!
  • Abhishek on For Software Performance, the Way Data is Accessed Matters!
  • Ivica Bogosavljević on How branches influence the performance of your code and what can you do about it?
  • S.Wwww on How branches influence the performance of your code and what can you do about it?
  • alitokur on Make your programs run faster: avoid function calls

Archives

  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • 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