Projects:View Generation Improved Scalability/QA
This project adds no new functionality, all tests are designed to ensure it does not introduce regressions:
- Exactly the same code is generated for views: compared output of generated views is identical.
- Cache invalidation
- Can switch context language and views are generated correctly in different languages.
- Grid Configuration invalidates cache at all levels (System, Tab and Field)
Performance and Scalability tests
To test performance and scalability improvements the following Gatling test was executed with 700MB xmx modifying concurrency. Each test thread opens Sales Order, Business Partner, Product and Sales Invoice view definitions sequentially in a loop.
With no concurrency, new code performs ~3x faster, with a 3 concurrent users new code is ~12x faster with no timeouts before some timeouts were seen. With 10 concurrent users before it was not possible to serve a single response because of Out Of Memory errors, still 20 concurrent users can be handled without errors.
Here execution summaries.