Page view counter
Memory & performance profiler for Silverlight 2.0? Subscribe to this thread
Last post 10-17-2008 2:13 PM by gabouy. 8 replies.
Sort Posts:
03-25-2008 11:27 AM
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?

Mike Tucker
http://blog.kkrankk.com

straylight

Loading...
Joined on 03-25-2008
Charlotte, NC
Posts 15
03-26-2008 5:02 PM
Re: Memory & performance profiler for Silverlight 2.0?

Anyone have any input on this please?

Free Beer for the 1st to respond Wink

 

Mike Tucker
http://blog.kkrankk.com

straylight

Loading...
Joined on 03-25-2008
Charlotte, NC
Posts 15
03-26-2008 10:54 PM
Marked as Answer
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!)

Best Regards,
Michael Sync

Microsoft WPF & Silverlight Insider
Blog : http://michaelsync.net


mchlSync

Loading...
Joined on 09-16-2005
Singapore
Posts 2,478
03-27-2008 1:44 AM
Marked as Answer
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;

jeetumaker

Loading...
Joined on 02-22-2008
Los Angeles, California
Posts 90
03-27-2008 9:09 AM
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!

Mike Tucker
http://blog.kkrankk.com

straylight

Loading...
Joined on 03-25-2008
Charlotte, NC
Posts 15
04-28-2008 10:00 AM
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!!

Mike Tucker
http://blog.kkrankk.com

straylight

Loading...
Joined on 03-25-2008
Charlotte, NC
Posts 15
04-28-2008 11:29 AM
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!)

Best Regards,
Michael Sync

Microsoft WPF & Silverlight Insider
Blog : http://michaelsync.net


mchlSync

Loading...
Joined on 09-16-2005
Singapore
Posts 2,478
10-06-2008 12:05 AM
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
************************************************************

suyog kale

Loading...
Joined on 08-02-2007
pune-india
Posts 98
10-17-2008 2:13 PM
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

gabouy

Loading...
Joined on 10-16-2007
Montevideo, Uruguay
Posts 45
Microsoft Communities