

Involves a lot of CPU work and a lot of memory work. Finally, launch is a very intense time for the phone.
Wwdc 2019 blog code#
And as such, if you're seen that your launch isn't as delightful as your users expected to be, this might be indicative that there's other parts of your code base that are delightful, as well. So, it's important to ensure that the experience that you see in your hand is the same experience that the customers, that your users, have in their hands on different iOS devices and under different conditions.įurthermore, launch covers a huge part of your code base, from primer coating, to initialization, to view creation, and more. Now it's important to remember that as developers, we tend to gravitate towards newer devices. First of all, your app's launch is your user, first experience with your app, and as such, it should be delightful. But it's also important for a number of other reasons. So, we did some number crunching, and we figured out that with we save only one millisecond on each of those launches, we would save an astounding 162 days of launch time, yes, in other words, thank you, in other words, that's the amount of time it takes to send a rocket to Mars. In fact, across all iOS devices, it happens billions of times a day. You know, it's really important for launch to be delightful, because it happens a lot. Wow, on the iPhone 6S Plus, launch took nearly 2.5 seconds, and this wasn't as delightful as our users expect it to be. What do I mean by this? Let's take a look. So, what is that app launch I was talking about? Well, app launch is a user experience interruption.
Wwdc 2019 blog how to#
Once you've done that, you can take a look at how to use Instruments to profile and understand your app to find opportunities to improve it.Īnd finally, we'll leave you with some tips and some tricks on how to monitor your app's launch, both over time and in the field, to ensure that you consistently deliver a delightful experience to all of your users. So, it's important to understand these states and how to reduce their impact when you're taking measurements. Out in the field, iOS devices can be in a variety of different states and conditions, and these states and conditions can produce inconsistent launch results. First, what is launch? What are the different types of launches and how do we break them down into their different subphases? Next, we'll be talking about how to properly measure your app's launch. We'll be covering these four main topics today. Today I'm very excited to tell you about how you can optimize your app's launch. Hello everyone, my name is Spencer Lewson, and I'm an engineer on the Performance Team here at Apple.
