Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Inactive
-
None
-
None
-
None
Description
The VisualVM profiler indicates that the Field.getStyleClass() method is getting called 18 times during the render of the jsf2-portlet's applicant.xhtml view, even though there are only 9 alloy:field components in the view. Perhaps there is some caching that should be taking place with getStateHelper().
In addition, there may be some performance improvements that can be made in the Field.getEditableValueHoldersRecurse(UIComponent) and Field.getHighestMessageSeverityRecurse(UIComponent) methods since they are taking up more CPU time than seems reasonable.