Hey guys does anyone have a good technique to determine exactly what is
causing high CPU usage inside a Silverlight control?

 

The example today was a ProgressBar with IsIndeterminate set to true causes
a MultiScaleImage control to go crazy (40-70% CPU). Even worse is even after
you hide the progressbar it never stops.

 

        <MultiScaleImage Source="GeneratedImages/dzc_output.xml" />

        <ProgressBar x:Name="progress" IsIndeterminate="True" Width="400"
Height="25" />

 

My current solution is simple trial and error to find the cause, and then
remove the offending control.

 

Silverlight Spy showed an infinite amount of LayoutUpdated being fired, but
I can't seem to get more information. Any good tools out there?

I've found ProcessExplorer is awesome for monitoring the CPU usage / memory.

 

John. 

_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to