cancel
Showing results for 
Search instead for 
Did you mean: 

Performance problems with sap.m.table component

Jizquierdo
Explorer
0 Kudos

We have developed a webpage using ui5 under xsengine. If we use sap.m. table with more than 50 records web page is very very slow, load times are huge. Nevertheless, If we change the component and we use sap.ui.table, it works perfectly.

Is there any technical reason for so bad performance on sap.m.table component? Is there any related bug or info?

We are using version 1.52.17

Kind regards,

Javi

Accepted Solutions (0)

Answers (3)

Answers (3)

maheshpalavalli
Active Contributor
0 Kudos

I think maybe you have not set the threshold limit. Assuming if that is the case, when 50 records are there in the model, UI will be rendered for the whole 50 records. So if you set the threshold, then only the threshold records will be loaded, then the user can scroll and load the ui which will surely increase the performance. But all this assuming that you have not set the threshold value in m.table.

Jizquierdo
Explorer
0 Kudos

The problem is that user wants to see all the records at same time so I can't use threshold and wait to move the scroll for reload.

maheshpalavalli
Active Contributor
0 Kudos

If u have not directly binded the table to odata sservic, then putting threshold will not cause any loading issue, If you have binded to the backend then make sure backend gives data fastly...

But as far as I know if u try to load more than 20 or something it becomes laggy for sometime

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Javier,

The following link shows a comparison between the different SAPUI5 Table libraries provided and how they can fit different requirements:

https://sapui5.hana.ondemand.com/#/topic/148892ff9aea4a18b912829791e38f3e

Also the SAPUI5 sap.m.Table documentation is saying that the number of rows to be loaded at the begining should be limited to improve performances.

Please also check the following links for SAPUI5 Application Startup Performances:

https://blogs.sap.com/2016/10/29/sapui5-application-startup-performance-best-practices/ - SAPUI5 Application Startup Performance - Best Practices

https://blogs.sap.com/2016/11/19/sapui5-application-startup-performance-advanced-topics/ - SAPUI5 Application Startup Performance - Advanced Topics

There is also SAPUI5 a Support Assistant to check your application:

https://sapui5.hana.ondemand.com/#/topic/57ccd7d7103640e3a187ed55e1d2c163 - Support Tool that allows you to check your application coding against predefined set of rules. The rules cover various topics such as Performance, Accessibility, Usability etc. aligned with SAPUI5 best practices and contain recommendation how to fix the issues found.

Hope it helps,
Trinidad.

Jizquierdo
Explorer
0 Kudos

Thanks Trinidad!

junwu
Active Contributor
0 Kudos

can't believe it.....