how to profile silverlight mvvm application with a lot of custom controls
        Posted  
        
            by tomo
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by tomo
        
        
        
        Published on 2010-05-22T20:15:14Z
        Indexed on 
            2010/05/22
            20:20 UTC
        
        
        Read the original article
        Hit count: 491
        
There is a quite big LOB silverlight application and we wrote a lot of custom controls which are rather heavy in drawing.
All data is loaded by RIA service, processed and bound (using INofityPropertyChanged interface) to the view.
The problem is that first drawing takes a lot time. Following calls to the service (server) and redrawing is quite fast.
I used Equatec profiler to track the problem. I saw that processing takes a couple of miliseconds only so my idea is that the drawing by SL engine is slow.
I'm wondering if it is possible to profile somehow processes inside SL to check which drawing operations are taking too much time. Are there any guidelines how to implement faster drawing of complex custom controls?
© Stack Overflow or respective owner