Archive for August 2010
Get GC Information in Silverlight
I had earlier written a post on getting GC information on Silverlight using ETW. With that we would have to write code to parse the ETW csv file. In this post I am going to be using Perfmonitor to do this. This tools uses the same ETW under covers, but it does all the plumbing and gives a nice report , which is much easier to read. Here are the reports
To demonstrate this I used the bing’s world leader search page and here is the url
http://www.bing.com/visualsearch?q=World+leaders&g=world_leaders&FORM=Z9GE74#
Steps to get the GC information are
- Start a cmd or powershell as admin , this required to collect ETW tracing
- Browse the above mentioned webpage using IE
- Issue the command “PerfMonitor.exe /process:4180 start” where 4180 is the internet explorer’s process id
- Do the necessary actions
- Then issue “PerfMonitor.exe stop”
- The command to get the report “PerfMonitor.exe GCTime”. This will generate a report and open it in the browser
Perfmonitor is like xperf for managed code. This is non-intrusive and can collect some valuable information in production. This is an xcopy tool and does not need an install.

