I phoneappperformance

424 views
369 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
424
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

I phoneappperformance

  1. 1. iPhone App Performance<br />Khang Vo<br />Book Author, Entrepreneur<br />MSIT at Carnegie Mellon University<br />
  2. 2. Tools<br />Memory<br />Memory Leak<br />Memory Garbage<br />Performance<br />CPU and time<br />UI<br />UI Render Frame<br />
  3. 3. Memory<br />
  4. 4. Memory<br />
  5. 5. Memory<br />
  6. 6. Performance<br />
  7. 7. UI Render<br /><ul><li>CoreAnimation Tools</li></li></ul><li>Reuse Cell<br />Reduce Preparation Time<br />tableView:cellForRowAtIndexPath:<br />Reduce subviews<br />Custom UITableViewCell<br />
  8. 8. Store caches in file/memory if possible<br />Be careful of memory warning<br />What to cache and when to delete cache<br />Caching<br />
  9. 9. NSThread<br />NSOperationQueue<br />NSAutoreleasePool<br />NSLock<br />NSTimer<br />Multithreading<br />
  10. 10. NSAutoreleasePool<br />Release Cycle -> Memory Leak<br />Garbage Collection in iOS5<br />Memory Management<br />
  11. 11. Autorelease pool<br />
  12. 12. Release cycle<br />
  13. 13. Thanks for Listening<br />Questions and Answers<br />

×