We have implemented a bunch of Angular 1 Kendo controls into our application. We have been encountering some slowness on the front end with the browser freezing when transitioning view states. I did some investigating, and was able to identify the issue as being related to the destroy methods kendo has implemented.
I put in some performance testing code around the destroys, and for EACH calendar control on the page, the .destroy() method is taking ~100ms, and for kendo windows, it is taking ~120-160ms per instance. If I comment the destroy method calls out, the page runs smoothly (but obviously we open ourselves up to memory leaks, so probably not a viable option).
We have plenty of our own directives on the page, and destroying all our controls collectively takes under 5ms. Why is each instance of these kendo controls taking 20+ more time than the rest of our controls combined? Is this a known issue?
We aren't doing anything overly fancy with our implementation, below is how our date picker is implemented.
<input kendo-date-picker
k-options="::datepickeroptions"
ng-model="value"
ng-show="!readmode"/>
We are using ~6 month old version of the library, however updating it to the latest made no improvement.
Any help would be appreciated!
Thanks.