<img height="1" width="1" style="display:none;" alt="" src="https://dc.ads.linkedin.com/collect/?pid=1005900&amp;fmt=gif">

Insights

Comparing Performance Monitor Log Files

Very often when analysing performance test runs, there is the need to compare the performance log data to some other runs to know whether performance is acceptable or not.  For example if we have to compare how the sqlservr process is running on a new release compared to the baseline on a previous release.

It is quite a tedious task to extract the data from Windows Performance Monitor, export it to csv format, import it in a spreadsheet and create charts to compare them.   There is a very handy feature in newer versions of Windows (Windows Server 2008 R2, Vista, Windows 7) that allows you to compare multiple performance monitor log files very quickly by launching Windows Performance Monitor in comparison mode.

To open Perfmon in comparison mode, simply type in perfmon /sys /comp in the ‘Run’ box.  Open your first performance log file then open another instance of Perfmon in comparison mode and load your second log file.

Both Perfmon windows will be in an opaque state at first; to change the transparency, select ‘Compare’ from the menu and set the transparency to your desired level for each window.  Once you have selected the transparency levels, select ‘Snap to Compare’ from the ‘Compare’ menu and both windows will be aligned in the same position for better comparison.

In the image below, one of the windows had a transparency of 40% and the other of 70%.

comparing perfmon files

  • There are no suggestions because the search field is empty.