Performance Overview
PDF
Introduction
Developing for Performance
What Is Performance?
The Efficient Use of Resources
CPU Time
Memory Space
Mass Storage Space
The Perception of Speed
Tracking Performance
Establish Your Baseline Metrics
Measure Early, Measure Often
Analyze Your Results
Analyze Higher-Level Algorithms
Other Analysis Techniques
Basic Performance Tips
Common Areas to Monitor
Code for Your Program’s Key Tasks
Drawing Code
Launch Time Initialization Code
File Access Code
Application Footprint
Memory Allocation Code
Fundamental Optimization Tips
Use Event-Based Handlers
Thread Your Program
Use the Accelerate Framework
Be Lazy
Take Advantage of Perceived Performance
Use the Mach-O Binary Format
Performance Tools
Installing the Apple Tools
Analysis Tools
Monitoring Tools
Hardware Analysis Tools
Additional Command-Line Tools
Doing an Initial Performance Evaluation
Using top
Using Quartz Debug
Using Spin Control
Using Shark
Revision History
Index