Improving Your App with Instruments

Written by Yi Ding

Description: Whether you're new to optimizing your app's performance or a seasoned veteran, learn about the new version of Instruments. See the new workflows, tools, and tips that will help you analyze and refine your app as it adopts the latest Apple technologies, including Swift and app extensions.

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"

This note was originally published at

Missing anything? Corrections? Contributions are welcome 😃

Written by

Yi Ding

Yi Ding

Write the Code, Change the World.