Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2604

Improve performance for Field.getStyleClass() for Alloy and Metal

Details

    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.

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            neil.griffin Neil Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package