Skip to main content

Microsoft Silverlight

Answered Question Memory & performance profiler for Silverlight 2.0?RSS Feed

(0)

straylight
straylight

Member

Member

24 points

15 Posts

Memory & performance profiler for Silverlight 2.0?

Does anyone know of a memory & performance profiler for Silverlight 2.0 applications?  I.e. similar to Red-Gate's ANTS profiler?

straylight
straylight

Member

Member

24 points

15 Posts

Re: Memory & performance profiler for Silverlight 2.0?

Anyone have any input on this please?

Free Beer for the 1st to respond Wink

 

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP
Answered Question

Re: Memory & performance profiler for Silverlight 2.0?

 AFAIK, there is no memory & performance profiler for Silverlight 2.0. Anyway, this is an input. :)  please. :)

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


jeetumaker
jeetumaker

Member

Member

525 points

92 Posts

Answered Question

Re: Re: Memory & performance profiler for Silverlight 2.0?

There is no tool as of now but as a workaround you can easily create a desktop (WPF) version of your Silverlight client from the same code base and few tweaks (refer Scot's blog for an example on this - http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-8-creating-a-digg-desktop-application-using-wpf.aspx) .  Once you are done with this you can run any performance profiler that works with WPF.

I hope this helps. Please click on the "Mark as Answer" if it has answered your question.

Thanks
Jeetu Maker
http://jeetumaker.blogspot.com
(Light_up_your_apps) using Silverlight.2.0;

straylight
straylight

Member

Member

24 points

15 Posts

Re: Re: Memory & performance profiler for Silverlight 2.0?

Ok, thanks very much.  I'll try converting it to a WPF.

Here's your Beer mchlSync!

straylight
straylight

Member

Member

24 points

15 Posts

Re: Re: Memory & performance profiler for Silverlight 2.0?

FYI - I was able to convert my Silverlight 2.0 app to WPF to enable profiling.  I posted a list of issues I encountered while doing so at: http://blog.kkrankk.com/default.html.

Thanks!!

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: Re: Memory & performance profiler for Silverlight 2.0?

straylight:
FYI - I was able to convert my Silverlight 2.0 app to WPF to enable profiling.  I posted a list of issues I encountered while doing so at: http://blog.kkrankk.com/default.html.
 

Great.. Thanks a lot for sharing with us. :) We can use your post as a reference for those who like to post WPF to Silverlight 2.  thanks again. Beer for you!! :)

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


suyog kale
suyog kale

Member

Member

188 points

99 Posts

Re: Memory & performance profiler for Silverlight 2.0?

 hi we can  use Performance Analyzer tools are new to the Windows Server 2008 SDK for Silverlight profile Check

The Performance Analyzer tools are new to the Windows Server 2008 SDK and are designed to measure and analyze Windows system and application performance. The Performance Analyzer tools consist of two primary programs, Xperf.exe and Performance Analyzer (Xperfview.exe). Xperf is a command-line tool that is used to control tracing and to process trace data. Performance Analyzer is a graphical trace data visualization tool. All the functions of the tools in the Windows Performance Toolkit (WPT) are available via the command-line tool, Xperf. After you install the tools, you can view your first trace.

To install Xperf and Xperfview

  1. Install the tools from the appropriate MSI file for the target system’s processor architecture x86 (32-bit), x64, or Itanium-based. You can use the default installation path or select another path, for example, C:\xperf. The installer will add the Performance Analyzer installation path to your system’s PATH environment variable.
  2. Open an elevated command prompt window.
    1. Click Start, click All Programs, and then click Accessories.
    2. Right-click Command Prompt, and click Run as administrator.
    3.  

  3. In the command prompt window, type the following command to turn on the Windows kernel event provider and send data to the default file \kernel.etl:

    xperf -on DiagEasy

     

  4. Compile a program or browse some Web pages.
  5. Use the following command to stop the kernel logger, and then merge and save the trace data to a Trace.etl:

    xperf –d trace.etl  

  6. View the trace file in Performance Analyzer by using this command:
  7. xperf trace.etl  

A graph of the data in the trace file appears. It should look similar to the following figure.

This view captures processor and disk utilization, process life times, and interrupt and deferred procedure call CPU usage.

To select an image, click the Selector tab on the right-hand side of the window.

You can select regions in the graph, zoom to them, and view summary table information on the regions. You click and drag to select a region, and then right-click to display the menu for the region.

(If this has answered your question, please click on "Mark as Answer")
Thanks & Rgds,
Suyog Kale
Senior Software Engineer
************************************************************

gabouy
gabouy

Member

Member

219 points

45 Posts

Re: Re: Memory & performance profiler for Silverlight 2.0?

another option, is to use silverlight spy, the analysis is not as rich, but might be enough for you,

http://firstfloorsoftware.com/silverlightspy/download-silverlight-spy/

(please mark as answer if this post answered your question)

Gabriel

zuraff
zuraff

Member

Member

4 points

2 Posts

Re: Re: Memory & performance profiler for Silverlight 2.0?

 Hi.

AtoLogic ( www.atologic.com ) provides SilverProfiler - a performance profiler of managed Silverlight code (2.0 and 3.0).

Regards

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities