Missing hits for lines in the source code view
Published 05 December 2012
When viewing the source code view of the ANTS Performance Profiler results, some lines of code in an individual method only show times and hit count for the first line.
Although ANTS Performance Profiler still shows the source code in the source code view, the settings used for the profiling session can disable line-level profiling. When you use the "Method-level timings; all methods" or "Method-level timings; only methods with source" profiling modes in the performance profiler settings, line-level information is not collected and therefore only the method times are shown in the source code view, by highlighting the start of the method and inserting the method-level time and hit count at that point.
In order to see the hit count and time data for each individual line of source code, you must select the "Line-level and Method-level timings" settings at the start of profiling.