I have a Silverlight page that displays ScrollViewer user controls in ScrollViewer (approximately 50% of the controls are displayed right away, depending on browser resolution).
When scrolling with ScrollViewer, the scrolling is sluggish and one of my 4 processor cores goes 100% (and stays there while I keep moving the scroll bar).
I wanted to profile the application in order to better understand where the time is spent following the instructions on this MSDN blog . As one of the commentators, I get an error
No call tree data.
when i open the .vsp file.
I start a profiling session with this batch file:
call vsperfclrenv /sampleon set CORECLR_ENABLE_PROFILING=1 set CORECLR_PROFILER=%COR_PROFILER% call vsperfcmd /start:sample /output:myProfile.vsp call vsperfcmd /launch:"c:\Program Files (x86)\Internet Explorer\iexplore.exe" /timer:100000 echo Browse to http://localhost:9567/MyTestPage.aspx
One blog commentator suggested that the problem is with the 64-bit version of vsperfcmd. While I am using the 64-bit version of Windows 7, vsperfcmd suggests that this is an x86 build:
vsperfcmd
Microsoft (R) VSPerf Team Version 10.0.40219 x86
What am I missing for the profile of my user code?
source share