12/15/2023 0 Comments Wwdc videos 2018![]() ![]() Now in the advanced section, we're going to show you how to take advantage of the Expert System Technology that built inside of Instruments so that you can create an instrument that's actually able to look for bad patterns and spot anti-patterns in your code even if you're not there.Īlright, so let's take a look at the architecture that makes this possible. But what if someone is profiling your application and they're not familiar with their code, right? What if they just want to see is the application spending a lot of time in the networking layer, and, if so, what is it doing? Well, a good use for a custom instrument would be to try to tell the story of what your layer or what your application is doing in a way that someone who doesn't understand the code can understand and appreciate it. So if you know those IP addresses, you know what those mean, and you know what the different functions mean and the call stack of the Time Profiler, it makes it a lot easier. Now the common thing here is that these are all very useful if you know the code that you're profiling, right. Time Profiler is a great way to see where your application is spending its time, whether that be the networking layer or the game engine or some other portion. And then, of course, a lot of you are familiar with the Time Profiler. And if you're on the network portion of your application, we also have the Network Connections Instrument, which can show you TCP/IP traffic coming in and out of your app. We have a new game performance template this year that combines System Trace and Metal System Trace to help you spot glitches and missed frames in your application. So the first one, why would you want to create custom instruments? Instruments already ships with a lot of really powerful tools, for example here we have System Trace where you can see how your application is interacting with the scheduler and the virtual memory. And then on the way out, we'll talk about some best practices, some of the things we've learned along the way, writing instruments on our own. And we have a lot of content today, so we have three sections: Getting Started, Intermediate, and Advanced. We're going to go over the architecture of Instruments. We're going to talk a little bit about why you might want to create custom instruments. We're going to talk about creating custom instruments in Instruments 10. I am a performance tools engineer here at Apple and today's session 410.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |