Nokia Windows Phone: Question 8

We’re running a challenge where in you can Win a Nokia Windows Phone. The rules of said competition are detailed in the aforelinked post. There is just one week left after this, here is question 8, last one for the penultimate week.

Question 8

Performance in mobile applications is paramount as users are on the go and don’t want to, nor will they, wait for your application. As part of the tools offered to Windows Phone developers, there are a number of features that can be used to tune application performance.

List, and describe how you would use, a feature of the Windows Phone developer tools that can be used to improve application performance. You can list other tools that are available to developers but they must be free for developers.

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

  • Craig Naumann

    The Windows Phone Performance Analyzer/Profiler built into the tools, which allows you to identify where your app is spending its processing. From loading data to drawing controls, it is a vital tool for any developer to run to give the best performance for their users

  • http://escapedevelopment.blogspot.com/ Daniel Spruce

    The performance counters which can be enabled in the App.xaml.cs by setting the following:

    Application.Current.Host.Settings.EnableFrameRateCounter = true;

    These show up in the emulator and give a good runtime indication of if you’re app is in good shape.

  • Garth Bacon

    Use the Silverlight EnableRedrawRegions Property. It enables a diagnostic feature that is used during development for performance-tuning your application by showing the areas of the plug-in that are being redrawn each frame.

  • http://jake.ginnivan.net Jake Ginnivan

    The profiling tools have been mentioned before, but when you identify your frame rate is very low using the profiler you may get quick win’s by using BitmapCaching.

    Silverlight has the ability to Cache visual elements, which can provide massive performance boosts during animations that you discover are struggling via the profiler. Simply use CacheMode=”BitmapCache” in your xaml or code behind on an element before animating it for a good performance boost.

  • http://nicksnettravels.builttoroam.com Nick

    The competition is now closed for entries. The following entries have been recorded for this question. If, for whatever reason, your entry is not in this list, please feel free to respond
    Craig Naumann (2 entries as first answer)
    Daniel Spruce
    Garth Bacon
    Jake Ginnivan