Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 707 Bytes

418.md

File metadata and controls

29 lines (20 loc) · 707 Bytes
contributors originalUrl
antonio081014

Why use Time Profiling?

  • Faster app launch times
  • Kepp frame rate at 60fps
  • Buttery-smooth scrolling
  • Responsive UI

What is Time Profiling?

Samples stack trace information at prescribed intervals, providing an idea of how much time each method takes.

When use Time Profiler?

  • Frame rate slowdowns

  • Some part of your app takes too long

  • Keep an eye on CPU usage in Xcode

  • Threads strategy: enable record waiting threads to expose blocked threads

Ignore unwanted data

  • Charge moves the associated cost
  • Prune removes the associated cost
  • Focus is "Prune everything but"