cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Performance Impact on sap.m.tree

Sriharsha_C
Associate
Associate
0 Likes
620

Performance issue:
When the records are more than 20000 in the JSON model. Tree loading took more than 2 and half minutes.

Control name: sap.m.tree
Kindly check sample Code below: 
here is the link to the snippet (in snippix):
https://snippix.only.sap/snippets/326394

To launch the page directly, go to:
https://snippix.only.sap/snippets/326394.html

Sriharsha_C_0-1716370502131.png

Kindly check the screenshot attached.

Your assistance in resolving this matter is greatly appreciated. Thank you for your time and support.
If this cannot be fixed, please suggest the alternatives or workaround.

Best regards,
Sriharsha

Accepted Solutions (0)

Answers (1)

Answers (1)

Sriharsha_C
Associate
Associate
0 Likes

@mchrista 
From backend we get the response in 10 seconds, but it takes 2 minutes in the frontend.

https://snippix.only.sap/snippets/326394.html
In Above sample, there is no backend involved, just hardcoded the JSON with 20000 items and then using the sap.m.tree to load.