This is a migrated thread and some comments may be shown as answers.

Performance and Memory Test

3 Answers 141 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Sravan
Top achievements
Rank 1
Sravan asked on 12 Oct 2011, 05:15 PM
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.

3 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 18 Oct 2011, 10:25 AM
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 >>

0
Sravan
Top achievements
Rank 1
answered on 18 Oct 2011, 11:39 AM
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.
0
Miroslav Nedyalkov
Telerik team
answered on 19 Oct 2011, 08:47 AM
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 >>

Tags
ScheduleView
Asked by
Sravan
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Sravan
Top achievements
Rank 1
Share this question
or