Synopses & Reviews
Suddenly, program optimization is crucial again. Yesterday’s “automatic” increases in computer performance have effectively stopped. iOS devices such as the iPhone, iPad, iPod touch, and Apple TV have dramatically fewer resources: their limited resources must be used as frugally as possible. Now, in Cocoa and Objective-C Performance, Marcel Weiher draws on more than 20 years of experience optimizing software for Apple devices, drilling down to the code level to systematically address optimization of CPU, memory, disk and network I/O and graphics.
The only book focused entirely on Cocoa and Objective-C performance optimization, this book is strongly empirically based, identifying concrete issues that can be discovered via measurement, and then addressed through the application of specific techniques and a deep understanding of proven underlying principles.
Weiher presents insights you won’t find anywhere else – most of which can be easily applied to both Mac and iOS development. He also identifies a series of common pitfalls and misconceptions associated with OS X and iOS performance, revealing why they are wrong, explaining the actual realities, and showing developers how to reflect those realities in more efficient code.
Synopsis
Suddenly, program optimization is crucial again. Yesterday's "automatic" increases in computer performance have effectively stopped. iOS devices such as the iPhone, iPad, and iWatch have dramatically fewer resources: Their limited resources must be used as frugally as possible. Now, in
iOS and macOS Performance Tuning , Marcel Weiher draws on 25 years of experience optimizing software for Apple devices, drilling down to the code level to systematically address optimization of CPU, memory, disk and network I/O and graphics.
The only book focusedentirelyon macOS and iOS performance optimization, this book is strongly empirically based. It identifies concrete issues that can be discovered via measurement, and then addressed via specific techniques combined with a deep understanding of proven underlying principles.
Weiher presents insights you won't find anywhere else--most of which can be easily applied to both Mac and iOS development. He also identifies a series of common pitfalls and misconceptions associated with OS X and iOS performance, revealing why they are wrong, explaining the actual realities, and showing developers how to reflect those realities in more efficient code. You'll also find up-to-the-minute independent assessments of Swift performance: information every macOS and iOS developer needs to know.
"
Synopsis
In
iOS and macOS Performance Tuning, Marcel Weiher drills down to the code level to help you systematically optimize CPU, memory, I/O, graphics, and program responsiveness in any Objective-C, Cocoa, or CocoaTouch program.
This up-to-date guide focuses entirely on performance optimization for macOS and iOS. Drawing on 25 years of experience optimizing Apple device software, Weiher identifies concrete performance problems that can be discovered empirically via measurement. Then, based on a deep understanding of fundamental principles, he presents specific techniques for solving them.
Weiher presents insights you won t find anywhere else, most of them applying to both macOS and iOS development. Throughout, he reveals common pitfalls and misconceptions about Apple device performance, explains the realities, and helps you reflect those realities in code that performs beautifully.
- Understand optimization principles, measurement, tools, pitfalls, and techniques
- Recognize when to carefully optimize, and when it isn t worth your time
- Balance performance and encapsulation to create efficient object representations, communication, data access, and computation
- Avoid mistakes that slow down Objective-C programs and hinder later optimization
- Fix leaks and other problems with memory and resource management
- Address I/O issues associated with drives, networking, serialization, and SQLite
- Code graphics and UIs that don t overwhelm limited iOS device resources
- Learn what all developers need to know about Swift performance
Normal 0 false false false EN-US X-NONE X-NONE "
Table of Contents
Preface
Part 1. CPU
1. Principles
2. Tools and Measurement
3. Techniques and Technology
4. Pitfalls
5. Examples
Part 2. Memory
6. Principles
7. Tools and Measurement
8. Techniques and Technology
9. Pitfalls
10. Examples
Part 3. I/O
11. Principles
12. Tools and Measurement
13. Techniques and Technology
14. Pitfalls
15. Examples
Part 4. Graphics and Text
16. Principles
17. Tools and Measurement
18. Techniques and Technology
19. Pitfalls
20. Examples
Part 5. Other Performance Issues
21. Responsiveness
22. Power