performance issue in agenda view

2 posts, 1 answers
  1. Frederic
    Frederic avatar
    20 posts
    Member since:
    Dec 2008

    Posted 02 Oct 2020 Link to this post

    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.

  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    2153 posts

    Posted 06 Oct 2020 Link to this post

    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/.

Back to Top