Performance and Memory Test

4 posts, 0 answers
  1. Sravan
    Sravan avatar
    11 posts
    Member since:
    Jul 2011

    Posted 12 Oct 2011 Link to this post

    Hi Team,

    we have undergone to performance and memory test on scheuler application that is using ScheduleView control. we have performed this test using ANTS (red-gate) tool.

    this performance test done because when we try to load the control with 150 Resourses and 300 Appointments we have noticed there is a decrese in the performance.

    when we try to load the xaml also it is taking long time (i.e InitializeComponent())

    We have found some statastics when we run the performance test on this applicaiton using ANTS tool

    there is lot memory allocated for Dictionary object. As we haven't used Disctionary object in our applicaiton it is identified in the ANTS tool, is that object is used in the telerik schedule view control.

    we are sharing those files with.

    Please can you help us in imporving the performance of the application.


    Regards,
    sekhar.
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 18 Oct 2011 Link to this post

    Hello Sravan,

    These dictionaries look like some system objects from Silverlight as the IManagedPeer class is internal. The big memory they occupy might be caused as we generate all the group headers (group headers are not virtualized) and this creates a lot of visual elements and put them in the visual tree. The slow initial load could have the same source - all the headers are created and placed inside the visual tree when the SchedueView control is render for the first time. We are currently working on the UI virtualization of the group headers, but currently only the appointment items are virtualized.

    I tried your scenario with some hard-coded resources and appointments and it looks like it is working pretty fast at my side. I'm attaching the project. Could you please let me know if I'm missing something.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Sravan
    Sravan avatar
    11 posts
    Member since:
    Jul 2011

    Posted 18 Oct 2011 Link to this post

    Hi Team,

    Thanks for the reply. when we bind hard coded bookings then we are not identifying any performance issue. when we try to fetch the Resource and Appointments from WCF Service, we are finding the issue in the performance.

    I would like to know one point is, will it have any performance issue when we bind the data using WCF Service?

    Any how we will look in to our code.

    Thank you once again.

    Regards,
    sekhar.
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 19 Oct 2011 Link to this post

    Hi Sravan,

    There are some things that could cause performance problems - if you add appointments in the appoints collection one by one or change the ResourceTypes many times this causes the ScheduleView to regenerate its groups many times and as they are many this might cause performance issues. What you could do is to wait for all data to be loaded and then to provide the data to the ScheduleView.

    Please let us know does this help. If not, could you please provide us a sample project that demonstrates the issue (not your full project if possible).

    Kind regards,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top