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

performance issue in agenda view

1 Answer 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Frederic
Top achievements
Rank 1
Veteran
Iron
Frederic asked on 02 Oct 2020, 02:35 PM

Hi, we found a performance issue that occurs only in the "agenda" view, specially when events have several days of duration.

Look at this dojo.

https://dojo.telerik.com/@foxontherock/IZafonEW

In the "week" view, navigation from week to week is very fast.

In agenda view, it's very slow.

The issue is in that function: 

kendo.ui.AgendaView.prototype._tasks

On the 2nd loop, there's that call
task = event.clone();
and this one is repeated for each day of the event, even if the day to analyse is out of the agenda current period.

I think you can solve it by only looping the "visible" days of the current view.

In our case, events have several other fields not related to the agenda.  We are able to increase performance by removing them and only keep required ones, it's better, but still slow.

All others views performs very well with huge dataset / events on multiple days.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 06 Oct 2020, 11:40 AM

Hi Frederic,

Thank you for suggesting this performance enhancement. I've logged it on your behalf in our Feedback Portal: https://feedback.telerik.com/kendo-jquery-ui/1488655-performance-issue-in-agenda-view

Regards,
Ivan Danchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Scheduler
Asked by
Frederic
Top achievements
Rank 1
Veteran
Iron
Answers by
Ivan Danchev
Telerik team
Share this question
or