Skip to content

Commit 71c7a92

Browse files
authored
update
1 parent 4f0afeb commit 71c7a92

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/configuration/performance.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# Performance
22

3-
### Frontend
4-
onyl UI refersh when needed, prefer model_update
3+
abap2UI5 is fast! Nearly everything is done in the backend, and the ABAP stack is much faster than any client or browser. Frontend logic is kept to a minimum: no loops are executed, and no extra logic is added. Everything is prepared in the backend and then directly übergeben into the UI5 framework at the client side. abap2UI5 has been successfully tested with tables containing a large number of entries and columns. So, just develop your app, and you can assume that performance will not be an issue.<br>
54

5+
### Suggestions
6+
If you still want to optimize your app, consider the following points:
7+
* Only call the method `client->view_display` when it is truly necessary, and prefer using `client->model_update`, this way, the UI5 framework only re-renders the controls that have actually changed.
8+
* Use `client->bind_edit` only when users need to make changes that are processed in the backend, otherwise, it leads to unnecessary data transfer
9+
* Use public attributes in your app class only for variables that are also displayed in the frontend, otherwise, the framework unnecessarily accesses unused values.
10+
* Follow the usual ABAP best practices: reduce loops, use sorted tables, etc., just like with ALV in the past
611

7-
### Frontend-Backend API
8-
9-
* make the model small, only use public attributes for the valuewhic are rely needed
10-
* use bind.edit only when it is needed
11-
12-
### Backend
13-
14-
as always reduce loops, etc.
12+
### Performance Issues?
13+
Try to minimize them and create a sample. We are happy to analyze and check if we can make abap2UI5 run even faster.

0 commit comments

Comments
 (0)