You can enable Display frame rate counter in headset and Display frame rate graph in headset. The Device Portal System Performance page has a good summary of CPU and GPU performance of the device. These are usually added when enabling expensive rendering features (for example MSAA, HDR or full-screen effects like bloom) which should be avoided. Ideally, no off-screen render targets should be used on HoloLens. Things to look out for are additional rendering targets and blit commands to copy between them as these are very expensive on HoloLens. It will give you a good overview of what the GPU is doing each frame. Unity's Frame Debugger is also a powerful and insightful tool to use. See Unity's GPU Usage Profiler module for more details. To use GPU profiling, you need to disable Graphics Jobs in the Unity Player Settings. This allows the developer to get a quick approximation if their application is CPU or GPU bounded. With the Unity Profiler connected and after adding the GPU profiler (see Add Profiler in top right corner), one can see how much time is being spent on the CPU & GPU respectively in the middle of the profiler. How to effectively diagnose performance problems with the Unity Profiler. How to connect the Unity profiler to UWP applications remotely.We recommend that you remotely profile your application while running on-device for the most accurate and actionable insights. Although you can run the profiler in-editor, these metrics don't represent the true runtime environment so results should be used cautiously. Unity provides the Unity Profiler built-in, which is a great resource to gather valuable performance insights for your particular app. Some of these recommended settings are highlighted below, as well. That article contains content with some of the most important scene configurations for building performant Mixed Reality apps. The most important first step when optimizing performance of mixed reality apps in Unity is to be sure you're using the recommended environment settings for Unity. Download the Quality Fundamentals app Use recommended Unity project settings
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |