Share via


Types of Profiling

How Do IDetails

Feature Only in Professional and Enterprise Editions   Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

The profiler can analyze the execution of your code with two levels of detail:

Function Profiling is good for detecting inefficient code. Function profiling is faster than line profiling because there is less information to collect.

Line Profiling can be useful for checking the validity of an algorithm because it shows how many times each line is executed in response to certain input data. Line profiling also lets you see which lines aren’t executed at all.