Silverlight Performance

We are considering moving from Adobe Flex to Silverlight because Flex is too slow.

What interests me is not graphical performance, but computational performance and the speed with which it executes code.

Does anyone have jokes to share their Silverlight experience?

+7
performance silverlight
source share
7 answers

Unlike Flex, Silverlight is multi-threaded. Which, when used properly, gives you the ability to write high-performance applications. There are many articles and blog posts to this. Here's a sample ...

http://www.silverlighthack.com/post/2008/09/07/Silverlight-MultiThreading-with-a-Computational-Process-(Counting-Primes).aspx

+4
source share
+2
source share

I found that Silverlight does a great job of computing performance. I was disappointed with some graphics features. Since this is not a problem, I would suggest several tests with several complex processes. I did not use Flex, so I do not have my own difference test.

+1
source share
  • Silverlight allows multi-threaded processing, which is great for handling large amounts of data (and as an alternative, the user interface seems faster / more responsive to the user).
  • Silverlight 2 applications written in> Networks should run as fast as .Net applications. They are compiled locally and run β€œnatively” in a managed environment, so performance should be the same as any. A net application that I discovered is pretty damn good, or at least a talented programmer, limited, not a set of restriction tools.
  • My big concern will be that you work on the client, and you have few opportunities to find out what speed the client will be for the client. The minimum requirements for SL are rather meager.
  • Also, multi-o-processing usually means a lot of o-data, so you'll want to examine Isolated Storage (another neat SL feature) and compress any WCF calls (use IIS7 and enable dynamic compression)
+1
source share

Not sure Flex works on the client side.

What I like frokm Silverlight is that the real OOP language (C #) and everything is compiled, about computing power, Scott Guthrie posted a link to a chess game (the same approach to the algorithm / implementation, but javascript vs silverlight) , I wonder how SL behaves.

In the application I developed, I had no performance issues (some samples manage over 70 tables and relationships) working with LINQ to XML ... jej, where I found several samples struggling with some errors controls on SL (combo and datagrid).

NTN Braulio

+1
source share

Reading this site and comments related to various posts can help you:

http://www.shinedraw.com/flash-vs-silverlight-gallery/

Reality - Silverlight currently has a lower rasterizer with some problems (described on the site mentioned above). But, as mentioned here, you get other benefits that can help with the rendering process, such as multi-threading. Recently, we faced many problems with rasterization of the input text, which led to the fact that our Flash (for this talk Flex - Flash) appeared on hiccups, at the moment there is really no good solution in Flash.

I would also suggest that you mostly get programmers from the Internet and systems, giving them your opinion, not computer graphics programmers.

+1
source share

To add Caryden's answer, Microsoft is working on a multi-threaded library that makes writing multi-threaded code easier (will be part of .NET 4.0). This library is likely to be included in Silverlight libraries in a future version.

+1
source share

All Articles