In this video we look at how Xamarin Inspector can be used to detect high CPU usage areas in the application and then pinpoint where they occur in the code.
- [Narrator] Sometimes parts of our applications…use a lot of CPU power.…It can be useful when performance tuning…your application to understand where…in the application high CPU usage is occurring.…As with all performance tuning,…excess time shouldn't be spent doing it…unless we think there's a specific problem…with our application.…Now here we have our performance testing application…and we want to make sure that we're running…the Droid project.…So I'm going to right click on that…and select Set as StartUp Project.…And we'll run it right here in the emulator.…
With our application running, we're going to start…the profiler by clicking on Tools + Xamarin Profiler.…In the profiler I'm going to quickly look at options…and make sure enable automatic snapshots is turned off.…With that set correctly we'll go back to target…and start the time profiler.…Here we're running our performance testing…application using the time profiler.…In the application we've got a screen that runs a method…to calculate prime numbers using a Sieve of Eratosthenes.…
- Working with tuples
- Using C# throw expressions
- Inspecting UI structures with Xamarin Inspector
- Identifying memory leaks in iOS and Android
- Recording and playing back tests with Test Record
- Using embedded assemblies in Android
Skill Level Intermediate
1. C# 7 Language Improvements
Inspecting UI structures3m 34s
4. Test Recorder
5. Embedded Assemblies
Where to go from here1m 54s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.