Lightswitch Silverlight vs html5, javascript performance

Locked Lightswitch Silverlight vs html5, javascript performance

All Replies

  • Monday, May 14, 2012 12:54 PM
     
     Answered

    Hey Dragonalw,

    I found that the performance of LightSwitch is really great once you deploy the app (true that in debug mode, it could be a bit faster...)

    If you have specific performance issues in a deployed LS app, perhaps there's some configuration mistake / abuse of some queries / ... 

    As far as the LightSwitch Silverlight client is concerned: it is a very "generic" and "dynamic" client.  Basically, it reads out the metadata and creates all the screens at "runtime" (I described how they do this here http://msdn.microsoft.com/en-us/magazine/hh965661.aspx in more detail...)

    If you are building a specific client on the LightSwitch OData middle tier (a specific WP7 client, HTML5+javascript/jquery, or a specific SilverLight client) it càn always be faster than the more "generic" standard LightSwitch client (Silverlight).   In fact, unless you're doing additional & heavy graphical computations, a custom client will *always* be faster.  The question is how much faster it would be (= not much), in regards to how much effort it will take (= a LOT)!!

    In summary:

    The LightSwitch middle tier has very decent performance once you deployed it.

    The LightSwitch client has very decent performance, but if performance is your only concern, you càn create a custom client, however ask yourself it it is worth the effort.

    my 2 cents :-)

    Jan


    It's your story - time to switch on the innovation. || About me || LightSwitch blog

    • Marked As Answer by Dragonalw Monday, May 28, 2012 8:56 AM
    •