
Performance Tuning Tips and Tricks for Any Code
One of the recurring tasks I see inside projects is performance tuning. The focus is on a database or queries at times but more often it is a code cleanup. We can dig into someone else’s (or our own) code after it has gotten unusable. However, we can also follow the best practices and make it easier on ourselves. Performance Tuning Loops The largest area of tuning opportunities is always going to be in the code that is repeated most often. Thus, loops and similar code constructs should be our first step in improving speed or reducing memory. There are a number of best practices to consider when reviewing the looped code. These suggestions include pulling everything out of the... Read more