Johny's Software Lab

Johny's Software Lab

Resources on making your system faster, more reliable and easier to debug

  • Home
  • Performance
  • Debugging
  • Developer Tools
  • Consulting
  • Contact
  • About us
Menu

All posts tagged 2 minute read

2-minute read: Class Size, Member Layout and Speed

2-minute read: Class Size, Member Layout and Speed

Posted on February 13, 2021February 19, 2021Author Ivica BogosavljevićPosted in PerformanceLeave a Reply

We are exploring how class size and layout of its data members affect your program’s speed

2-minute read: How is Big O notation relevant on modern systems?

2-minute read: How is Big O notation relevant on modern systems?

Posted on January 10, 2021February 20, 2021Author Ivica BogosavljevićPosted in PerformanceLeave a Reply

Big O notation is commonly used to describe algorithm performance. But modern hardware makes performance analysis much harder than it used to be. In this short article we give three interesting examples to illustrate the limits of big O notation.

2-minute read: the Magic Touch of Parallel Algorithms

2-minute read: the Magic Touch of Parallel Algorithms

Posted on December 15, 2020December 17, 2020Author Ivica BogosavljevićPosted in Performance1 Reply

We investigate a simple way to speed up std::sort from the standard library

2-minute read: What is faster, std::endl or ‘\n’?

2-minute read: What is faster, std::endl or ‘\n’?

Posted on December 9, 2020December 11, 2020Author Ivica BogosavljevićPosted in PerformanceLeave a Reply

A few days ago I wrote a small app to illustrate one of the articles I was preparing. Basically the program was loading a file from the hard disk, sorting it, and then outputting to another file only unique values (by omitting duplicates). The function for writing unique values to a file looks like this:…

Read

Like what you’re reading? Follow us!

Recent posts

  • Flexibility and Performance
  • Speedscope: visualize what your program is doing and where it is spending time
  • Speeding up an Image Processing Algorithm
  • The true price of virtual functions in C++
  • 2-minute read: Class Size, Member Layout and Speed

About me

Johny’s Software Lab LLC is a software development consulting house specializing in software performance. If you or your developer team needs help on how to make your C or C++ program run faster, or you are missing out important deadlines because of problems with performance, this is the right place to be.

Recent Posts

  • Flexibility and Performance
  • Speedscope: visualize what your program is doing and where it is spending time
  • Speeding up an Image Processing Algorithm
  • The true price of virtual functions in C++
  • 2-minute read: Class Size, Member Layout and Speed

Recent Comments

  • Roi Barkan on Process polymorphic classes in lightning speed
  • Ivica Bogosavljević on Process polymorphic classes in lightning speed
  • Roi Barkan on Process polymorphic classes in lightning speed
  • Ivica Bogosavljević on Process polymorphic classes in lightning speed
  • Roi Barkan on Process polymorphic classes in lightning speed

Archives

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

Categories

  • Debugging
  • Developer Tools
  • Memory Footprint
  • Performance
  • Reliability

Meta

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

©2021 Johny's Software Lab | WordPress Theme by Superb WordPress Themes