PDC video, TechEd Iceland, VS2010, profiling, Silverlight 4

(I know I promised this eons ago, so apologies in advance… on the flipside, I’m posting from my vacation in Paris, so hopefully that earns me 1-2 brownie points back.) First, my PDC slides and the video. This is the same talk that I gave at TechEd Iceland for profiling.  I was recently reminded to…

13

Summary of the 20min perf talk

The 20 minute talk is posted here. I spoke till the speaker timer started to flash at me (giant flashing clock), which resulted in having no time for a forum Q&A, but feel free to post your questions/comments down below. I’m always curious about what perf issues people are hitting.  Understanding perf issues gives me an…

3

Getting to the Media FastPath

Earlier this week, us in the Silverlight perf and media teams reviewed Ben Waggoner’s tutorial on how to build fast media players, check it out here: http://on10.net/blogs/benwagg/Building-high-performance-Silverlight-Media-Players/ Tis a great how to guide. (now I’m really going home. Seema)

1

EnableFramerateCounter, Setting your Framerate correctly

Debug toolI posted about EnableFramerateCounter before — it is a simple little debugging setting that you can use when trying to figure out: Which of these designs hurts my framerate more? If I add this module in, does it hurt my framerate? To figure these out, you can: Set the plugin’s desired framerate at 1000 (silverlightObject.settings.MaxFrameRate OR…

1

PDC: Deep Dive into building an optimized graphics-intensive SL app

Thank you everyone for attending. For those who could not make it, you can check out my talk here on channel9, it was PC06: In this deep dive session we pull the covers off of the layout, rendering, and media pipelines to discuss how things work and how to optimize your application. This session covers…

5

XPerf: A CPU Sampler for Silverlight

For those of you who are a) building graphics-intensive applications or b) trying to debug your performance, I would like to introduce xperf and xperfview. These are two profiling tools which can be used to analyze the performance of any Microsoft technology, including Silverlight.   These tools have existed internally for quite some time, and…

21

Perf Debugging Tips: EnableRedrawRegions & a performance bug in VideoBrush

Was chatting with Andy Beaulieu at Remix Boston, and he was commenting that it seems that Silverlight only draws when needed — it is true, we try to not waste your CPU cycles. For Perf debugging, a way to tell when you are causing a redraw is to turn on the control’s EnableRedrawRegions property. agControl.settings.EnableRedrawRegions =…

6

Macintosh & Silverlight perf...

I met recently with two designers trying to figure out “what was Silverlight doing under the covers? did I accidentally turn on some feature?”  My first thought is to reference my post on how to minimize CPU usage. We have to learn how to conserve not only energy but CPU cycles (yes, even if you…

3

Silverlight: A few thoughts on minimizing CPU usage

The first two suggestions will have the most drastic improvement on the performance of your Silverlight application, and can affect CPU usage, framerate, and application responsiveness.   1.       IsWindowless=false is faster Do not turn on isWindowless unless your design requires overlay of other HTML content on top of Silverlight content.   2.       Opaque Background is…

7