AdSense

Sunday 7 July 2013

Visual Studio - Profiler

(Deutsche Version) Whoever has been programming programs which take a lot of time has asked himself which parts of the program cause the most delay.

A simple solution would be to measure the time in the code. This can be very annoying and take a lot of time. Therefor, there is the feature called "Profiler" in Visual Studio. I will only talk about the profiler in Visual Studio 2012.

The profiler is called by "ANALYSE" - "Launch Performance Wizard". Afterwards the program is started and Visual Studio logs data. When the program has finished, Visual Studio generates a report, this can take some seconds.

When the report is created, an overwiew is shown. Here you can see the CPU usage and below the functions which took the most time.

No comments:

Post a Comment