You can use the Unity profilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info
See in Glossary to get performance information about your application. For more information, refer to Profiling your application.
Due to restrictions with UWP, you won’t be able to connect the profiler if the Unity Editor is running on the same machine as UWP. Therefore, make sure to run the Unity Editor and UWP on separate machines. For example, if you’re running the Unity Editor and UWP on the same PC, you won’t be able to connect the profiler. The only exception to this rule is the Autoconnect Profiler build option, which makes the application connect to the Editor instead.
You must also ensure that the machine where the Unity Editor is running and the machine where the Universal Windows App is running are on the same subnet.
Note: The profiler doesn’t work on Master configuration.
To connect the Unity profiler to a running Universal Windows application, perform the following steps: