Baaahh... Performance and optimization is boring. What's fun about that?
Having an app that performs well is not fun, it's pure joy. Every app we write is a part of us. Our blood, sweat and tears go into even the simplest app. When those app's leave the nest and go into the real world we want them to be all they can all.
No lazing on the couch, drinking grape soda and moving like old pond water... We want them to be a fast, mean, lean machine! (Sorry, watched Stripes a little too much recently)
Especially if we can take some simple steps, make some simple changes to dramatically improve performance. Maybe use a component from a toolkit to improve our app's performance. Or maybe...
Two articles hosted on CodeProject ("Friend of Channel 9") Performance of Windows Phone 7 Applications and Windows Phone 7 Animations — Alternatives, Performance
"Silverlight and a mobile device — the combination that would be considered impossible not so long ago. The reason is simple — Silverlight with all its flexibility demands high computational power.
So how does the reality look like after the WP7 devices are in use for a couple of months?
We'll be talking about the performance. Ok, but what does it mean — performance?
Most users — when they see nothing changed for 2 seconds — assume something is broken and act correspondingly. You have two options how to handle this situation:
- Making your app acting faster, i.e. improve the real performance.
- Making your app appear faster, i.e. improve the perceived performance.
In fact, positive perceived performance is one of the central requirements when submitting apps to the WP7 market place. The app should never appear irresponsive, you need to entertain the user during lengthy computation, show some action, animations etc.
In the following we'll be talking about various ways how to improve the performance. Then we'll try to demonstrate these general points on concrete examples.
These articles, and others like them, "teach us to fish," they help us build applications that work, or appear to work, at warp speed...
- Here’s a few more links you might find interesting:
Creating High Performing Silverlight Applications for Windows Phone Samples
- App Hub (Windows Phone 7 & XBox 360 development hub)
- Windows Phone 7 Development Tools and Resources, from MSDN Magazine
- Windows Phone 7 Developer Tools, from MSDev
- Windows Phone Training Kit – Update
- Master List of Windows Phone Developer Tips
Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.