Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3494

[perf] improvements on DefaultFaceletsStateManagementStrategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.13, 2.1.7
    • JSR-314
    • None

    Description

      There are two possible optimizations for DefaultFaceletsStateManagementStrategy

      • When saving the view, do not call getClientId() unless necessary.
      • Check when there are no state to be restored and if that so, skip tree traversal.
      • Check when only the viewRoot needs to be restored and if that so, restore root and skip tree traversal.

      These changes will improve speed and memory a little bit, since myfaces pss algorithm is highly optimized and has usually zero or almost zero delta.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: