CollectionWidget performance issues
- January 24, 2019
- 1 reply
- 3509 views
Hi,
i use the collection widget to display informations on equipments (Assets) in mashups as a "Grid" like.
i used the collection over the repeater widget because of the Data flow from single mashups back to the main mashup (and visual improvements).
The source service collect all data and bind them to the single Mashups. The single Mashups self have no logic or service calls, only Mashup<-->widget bindings. But the initial loading times are incredible (for only ~20 Assets, we plan more then 300) on Desktop (we have loading times for more than 10s). So you can imagine the loading times on a portable device like Tablets or not so powerfull devices such as a Raspberry.
The source service itself is very fast (around 50-250 ms with Postman, or in Composer).
i checked the performance with Chrome developer tools and found out that the rendering of the Collection Widget takes about 60% of the complete loading time. I attached two images from the Performance log analysis. Note in the first picture that the single mashups are not even displayed after that 10.4s after around 15-20s the single mashups will shown. But as you can see in the secons picture there is the calculation of the layout which needs a HUGE amount of power.
So is there a way of improving performance of the collection widget? Or is there a way to use the Repeater with a Data / Signal flow from single mashups to the outside Mashup?

