Is a library for profiling C# applications.
- Add Library to your project
- In the beginning of profiling functions insert this code
public static void SomeFunction()
{
using var scope = ProfilerScope.Begin(nameof(SomeFunction));
//Some code
}
- In Main function after all profiling function calls insert this code
public static void Main()
{
//Some code
SomeFunction();
ProfilerInstance.Save();
}
- Build your application
- After this manipulations in current directory will create
.UPS
file - To visualize call stacks you can use Uranium Studio