Improve performance and battery life in your app

Discover four tools that can help you identify performance and battery life issues: Xcode Organizer, the Power and Performance API, MetricKit, and XCTest.

Learn how to analyze aggregated power and performance data in Xcode with just a few clicks. Track your app's quality by utilizing the new Power and Performances Metrics and Diagnostics API to create custom dashboards and integrate with your bug reporting systems. Find out why apps terminate in the background, and explore how you can use MetricKit to help you identify key statistics to drive down the rate of terminations. And we'll show you how to use XCTest to detect interruptions to smooth scrolling and animations and catch regressions before they affect your shipping software.

  • WWDC20

What's new in MetricKit

Quickly detect power and performance regressions and troubleshoot app issues when you adopt MetricKit. Discover the latest trackable metrics for your app, including CPU instructions, animation hitches, and exit reasons. And learn about diagnostics in MetricKit that can help you troubleshoot hangs,...

  • WWDC20

Identify trends with the Power and Performance API

Track your app’s performance metrics in custom team dashboards, bug reporting systems, and other custom workflows with the Power and Performance Metrics and Diagnostics API. Explore how you can access the same data that drives the Power and Performance analysis tools in Xcode to quickly identify...

  • WWDC20

Why is my app getting killed?

Put on your detective’s hat: It’s time to track down those unruly app terminations. We’ll outline the six major reasons apps terminate in the background, and show you how you can use MetricKit to to help you identify key statistics to drive down the rate of terminations. Learn how to prevent...

  • WWDC20

Eliminate animation hitches with XCTest

Animations can dramatically enhance the user experience of your app, provide a sense of direct manipulation, and help people to better understand the results of their actions. Animation hitches can break that experience. Discover how to use XCTest to detect interruptions to smooth scrolling and...

  • WWDC20

Diagnose performance issues with the Xcode Organizer

Analyze aggregated power and performance data from multiple versions of your app with just a few clicks. We’ll introduce you to the latest version of the Xcode Organizer and its interactive interface, where you can easily compare and contrast app metrics across releases. Explore disk write...

Related

  • WWDC20

Background execution demystified

Are you mystified about why and when your app gets background processing time? No need for a crystal ball! We’ll show you how to tackle the seven major factors that impact background runtime, and how you can integrate background modes that help your app come back to the foreground faster, run...