NXP-1292' show that the JSF component tree size has an impact on perfs.
Reducing the tree size can be done using several strategies:
- merge all components exposing variables (nxu:set atomic tags can sometimes be merged into the same component without any issue)
- avoid the layout/widget system overhead when possible (for instance in document actions widgets)
- avoid using nxu:set where that can be avoided, especially in little templates included in a lot of other templates (like the one displaying the widget label)