Design for performance

You can change the design of your application program to improve performance and efficiency.

Other aspects of application design are addressed in Designing applications

If you have a performance problem that applies in a particular situation, try to isolate the changes you make so that their effects apply only in that situation. After fixing the problem and testing the changes, use them in your most commonly-used programs and transactions, where the effects on performance are most noticeable.