Comparing Profiler Performance Reports in Visual Studio 2010

You can compare the results of two different profiler performance report files (.vsp ). Reports folder in performance explorer contains all the list of reports that generated so far from the current performance session. You can select two different reports to compare them. The difference between two reports presents a table view . The table shows the  change from the baseline and the current session.

First Right clicks on the reports in Performance Explorer and  select “Compare Performance Reports” from the context menu. The report ( .vsp) file which is being select first will be consider as Baseline.

image

Select “Compare Performance Reports”, it will launch file selection dialog where you have to specify the another filer on which you want to do the comparison.

image

Browse the “Comparison File” and click on “Ok” . This will generates the “Comparison Reports” on a Table View .

image

Comparison reports will display the Baseline value ( result from Baseline File) and the Comparison value ( result from Comparison File   ) and a delta between these two. This will help you to understand the optimization impact between two different performance reports. 

By default, comparison reports shows the result based on functions. You can change the option from “Comparison Options Section”. You must have to Apply the setting after changing the value.

image

You can also provide some threshold values to filter out few data.

You can also launch this performance reports from Analyze > Compare Performance Reports Menu.

imageimage

Where you can specify the both baseline and comparison performance file. This is useful, when you just want to compare two existing reports .

Note : you can can’t compare two different types of profiler result, which means, you can compare with only two Sampling profiling result or two instrumentation profiling result.  But you can not compare one sampling and one instrumentation result

image

Hope this helps.

Cheers !

Aj

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.