Using Profiling in Visual Studio

If you are still experiencing slow performance, use profiling in Visual Studio to analyze which function is slowing down the program. Refer to Visual Studio documentation on profiling applications.