Who Should Read This Document
Organization of This Document
Filing Bug Reports
See Also
Performance is an important design factor in all software products. If a program runs slowly or displays the spinning cursor too frequently, users are likely to become frustrated with the program and look for alternatives. Maintaining a reasonable level of performance requires some diligence on your part, but the earlier you start considering it, the easier it is to catch and fix problems.
Performance Overview is an essential guide for developers who are new to the area of software performance analysis. This document gives an overview of the factors that govern performance and offers an approach for identifying and fixing common performance problems. It also introduces you to the specific tools and documentation you can use to identify and fix performance problems.
This document has the following chapters:
“Developing for Performance” describes the factors that constitute performance and the approaches to achieving the best performance in your software.
“Basic Performance Tips” describes the common areas of your code to analyze and offers some fundamental performance techniques.
“Performance Tools” describes the available tools for doing a performance analysis of your program.
“Doing an Initial Performance Evaluation” walks you through the basics of some key tools and shows you how to use them to find performance problems.
If you encounter bugs in Apple software or documentation, you are encouraged to report them to Apple. In addition to reporting bugs, you can also file enhancement requests to indicate features you would like to see in future revisions of a product or document. To file bug reports or enhancement requests, go to the Bug Reporting page of the Apple Developer Connection website, which is at the following URL:
http://developer.apple.com/bugreporter/
You must have a valid Apple Developer Connection login name and password to file bugs. You can obtain a login name for free by following the instructions found on the Bug Reporting page.
In addition to this document, there are several documents that cover more specific aspects of performance. You should investigate these documents for detailed tips on how to analyze and solve performance problems.
Code Size Performance Guidelines offers advice on how to improve the memory footprint of your program.
Code Speed Performance Guidelines offers advice on how to tune your algorithms and find performance bottlenecks.
Drawing Performance Guidelines offers advice on how to optimize your program’s drawing-related code.
File-System Performance Guidelines offers advice on how to access files more efficiently.
Launch Time Performance Guidelines offers advice on how to speed up the launch time of your application.
Memory Usage Performance Guidelines offers advice on how to use memory more efficiently and on how to analyze your current memory usage.
Threading Programming Guide provides detailed conceptual and task-based information about how to use threads in your program.
64-Bit Transition Guide discusses the performance impacts of 64-bit binaries and provides guidance on when creating such binaries is appropriate.
© 2004, 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-10-03)