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.


Get GC Information in Silverlight…
Thank you for submitting this cool story – Trackback from DotNetShoutout…
DotNetShoutout
August 10, 2010 at 10:35 pm
[...] This post was mentioned on Twitter by Richard Laksana, Sergiy Filypov. Sergiy Filypov said: Get GC Information in Silverlight http://bit.ly/axtKw5 [...]
Tweets that mention Get GC Information in Silverlight « Naveen's Blog -- Topsy.com
August 11, 2010 at 10:47 pm