Preparing for Battery and Performance Optimization Lab

Hello Apple Team,

I’ll be attending the Battery and Performance Optimization Lab this Thursday, and I’d like to prepare as thoroughly as possible to get the most value from the session.

I’m particularly interested in understanding what I can do beforehand to identify optimization opportunities in my app and arrive with useful performance measurements and actionable questions.

I would appreciate your guidance on a few areas:

  1. Xcode configuration: Are there specific build settings, diagnostic options, profiling configurations, or performance-related settings I should enable or review before the lab?
  2. Performance measurement: Which Instruments templates, metrics, or profiling workflows would you recommend using beforehand to establish a meaningful baseline for CPU usage, memory, energy consumption, and battery efficiency?
  3. Preparation: What measurements, diagnostic reports, or reproducible test scenarios would be most useful to bring so we can spend more time investigating optimization opportunities rather than establishing a baseline?
  4. Technical resources: Are there specific WWDC sessions, documentation, or technical concepts you recommend reviewing to better understand how iOS manages energy consumption, background execution, and performance?
  5. Prioritization: What are the most important things developers should understand before attending this lab, particularly when optimizing an application that performs continuous on-device processing and audio playback?
  6. iPhone Duo testing: Will the engineering team have iPhone Duo demonstration or development units available during the lab for testing and profiling applications on actual hardware? My app includes Duo-specific multitasking and display adaptations, and I’d particularly value the opportunity to evaluate performance, battery efficiency, and resource usage on the device.

My goal is to arrive with a well-profiled application, a clear understanding of its current performance characteristics, and enough preparation to make the session as technically productive as possible.

Thank you for your guidance. I’m looking forward to learning from the team on Thursday!

Hi! Thanks for your questions.

We have some things to share about specific Instruments to use and techniques during the presentations at the event. We'll also share some good resources to follow up on after the event. Stay tuned!

To prepare for the day itself, come with anything you'd like to chat through with engineers in the labs. There will be experts in areas like hangs, hitches, memory, UI frameworks, and more. If you have specific traces or diagnostic reports in the field that you want help analyzing, please come with that to help the discussion.

Unfortunately, the performance event won't have hands-on hardware for use - but feel free to bring your own devices to try out any of the techniques you hear about in the labs. To find out if there are upcoming iPhone Duo workshops near you, check out https://developer.apple.com/events/.