All Projects → microsoft → VisualProfiler-Unity

microsoft / VisualProfiler-Unity

Licence: MIT, Unknown licenses found Licenses found MIT LICENSE Unknown LICENSE.meta
The Visual Profiler provides a drop in solution for viewing your mixed reality Unity application's frame rate, scene complexity, and memory usage.

Programming Languages

C#
18002 projects
ShaderLab
938 projects

Projects that are alternatives of or similar to VisualProfiler-Unity

kokkos-tools
Kokkos C++ Performance Portability Programming EcoSystem: Profiling and Debugging Tools
Stars: ✭ 52 (-56.67%)
Mutual labels:  profiler, profiling
Memory Profiler
A memory profiler for Linux.
Stars: ✭ 2,422 (+1918.33%)
Mutual labels:  profiler, profiling
profiling
Non-discriminatory profiling of Ruby code leveraging the ruby-prof gem
Stars: ✭ 12 (-90%)
Mutual labels:  profiler, profiling
bytehound
A memory profiler for Linux.
Stars: ✭ 2,639 (+2099.17%)
Mutual labels:  profiler, profiling
Hotspot
The Linux perf GUI for performance analysis.
Stars: ✭ 2,415 (+1912.5%)
Mutual labels:  profiler, profiling
audria
audria - A Utility for Detailed Ressource Inspection of Applications
Stars: ✭ 35 (-70.83%)
Mutual labels:  profiler, profiling
profiler
Continuous profiling based on pprof
Stars: ✭ 221 (+84.17%)
Mutual labels:  profiler, profiling
pylaprof
A Python sampling profiler for AWS Lambda functions (and not only).
Stars: ✭ 12 (-90%)
Mutual labels:  profiler, profiling
Laravel Db Profiler
Database Profiler for Laravel Web and Console Applications.
Stars: ✭ 141 (+17.5%)
Mutual labels:  profiler, profiling
Py Spy
Sampling profiler for Python programs
Stars: ✭ 7,709 (+6324.17%)
Mutual labels:  profiler, profiling
Scalene
Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python
Stars: ✭ 4,819 (+3915.83%)
Mutual labels:  profiler, profiling
Nlp profiler
A simple NLP library allows profiling datasets with one or more text columns. When given a dataset and a column name containing text data, NLP Profiler will return either high-level insights or low-level/granular statistical information about the text in that column.
Stars: ✭ 181 (+50.83%)
Mutual labels:  profiler, profiling
Tracy
C++ frame profiler
Stars: ✭ 3,115 (+2495.83%)
Mutual labels:  profiler, profiling
Myperf4j
High performance Java APM. Powered by ASM. Try it. Test it. If you feel its better, use it.
Stars: ✭ 2,281 (+1800.83%)
Mutual labels:  profiler, profiling
golden
a benchmark for compile-time and/or runtime Nim 🏆
Stars: ✭ 28 (-76.67%)
Mutual labels:  profiling
defpro
Defold Profiler interaction using Lua
Stars: ✭ 19 (-84.17%)
Mutual labels:  profiling
KEYSDK-WH
Simplified mapping with KEY SDK.
Stars: ✭ 12 (-90%)
Mutual labels:  mixed-reality
IYFThreading
A C++11 thread pool and profiler
Stars: ✭ 24 (-80%)
Mutual labels:  profiler
ocaml-tracy
Bindings to the Tracy profiler
Stars: ✭ 21 (-82.5%)
Mutual labels:  profiling
aws-codeguru-profiler-demo-application
Example application demonstrating the features of Amazon CodeGuru Profiler
Stars: ✭ 21 (-82.5%)
Mutual labels:  profiling

Visual Profiler

The Visual Profiler provides a drop in solution for viewing your mixed reality Unity application's frame rate, scene complexity, and memory usage across a variety of platforms.

Visual Profiler Screenshot

Missed frames are displayed over time to visually find problem areas. Scene complexity is reported in the form of draw calls and rendered vertex counts. Memory is reported as current, peak and max usage in a bar graph.

[!NOTE] To ensure the profiler is minimally intrusive it does not create any GameObjects, perform any per frame managed allocations, and renders in a single draw call.

The Visual Profiler has been verified to work on the following platforms:

  • Microsoft HoloLens & HoloLens 2
  • Microsoft Immersive headsets (IHMD)
  • OpenXR platforms
  • Steam VR (HTC Vive / Oculus Rift)
  • Meta Quest & Quest 2
  • WebGL

Installation

The Visual Profiler is normally ingested as a Unity package. To import the Visual Profiler package into your Unity project follow the below steps:

[!NOTE] The Visual Profiler package requires Unity 2020.3 and above.

  1. Open your Unity project and select Window > Package Manager from the file menu bar

  2. Click the '+' icon within the Package Manager and select "Add package from git URL..."

    Package Manager Add

  3. Paste https://github.com/microsoft/VisualProfiler-Unity.git#v2.2.0 into the text field and click "Add"

    Package Manager Paste

  4. The Visual Profiler will now be installed within your Unity project as an immutable package within the project's Packages folder named Mixed Reality Visual Profiler.

  5. Finally, add the VisualProfiler component to any GameObject in the Unity scene you wish to profile. The profiler is initially active and visible (toggle-able via the IsVisible property), but can be toggled via the enabled/disable voice command keywords (on Windows/UWP platforms only).

It is advised you use a specific release of the Visual Profiler package to ensure your project is locked to a stable release. Release version 2.2.0 is suggested in step three above. You can also pull another version, specific branch, or git commit hash by altering the URL as demonstrated below:

Syntax URL example
Specific version https://github.com/microsoft/VisualProfiler-Unity.git#vX.Y.Z
Specific branch https://github.com/microsoft/VisualProfiler-Unity.git#my_branch
Git commit hash https://github.com/microsoft/VisualProfiler-Unity.git#badc0ffee0ddf00ddead10cc8badf00d1badb002

Usage

When using the profiler look for "missed frames" which appear as orange bars. Missed frames indicate your application is not hitting its target frame rate and may need optimization work. Draw call counts and vertex counts are also displayed under the missed frame indicators. These numbers can be indicative of why your app isn't meeting its target frame rate.

Profiler Guide

One should also keep an eye on the bottom memory bar to insure memory usage isn't rapidly changing or approaching the application's memory limit.

[!NOTE] The Visual Profiler works in both development and release builds.

The profiler UI (such as anchoring, scale, follow behavior and UI color) can also be tweaked in the component inspector.

Profiler Inspector

Feedback

To file issues or suggestions, please use the Issues page for this project on GitHub.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].