Projects/Display Logic Evaluated At Server Level/QA
Display Logic Evaluated At Server Level - User Documentation
Code review: https://docs.google.com/spreadsheets/d/1sV3KzBk3jgZtbX9BwNDGrLiFGS84ZBZAbE23bb7UGv4/edit#gid=0
Test Plan
- Test Plan in TestLink under the suite [SRV-DL] Server Display Logic.
- Tested the output of the generation of the Windows. The code generated is identical with and without the changes for existing Windows with no other changes made (expected behavior)
Performance
The performance was tested by loading 1000 times the Sales Order Window without the new code, with the new code and without any Display Logic Definition and with the new Code and with all the fields with some Display Logic Definition (worse case)
The figures are (expressed in ms):
Test | Max | Min | Average | Percentile 90 |
Wihtout Changes | 8,244 | 4,831 | 5,757 | 7,104 |
With Changes | 10,062 | 4,922 | 5,823 | 7,233 |
All the fields with Display Logic | 8,731 | 5,137 | 6,108 | 7,615 |
On Average, the new code introduces a delay of 60 ms over 5,757 ms while loading a non-cached Window.
On the worse case scenario this delay is of 351 ms for loading the Window the first time.