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

MyFaces performance improvements for production

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • General
    • None

    Description

      Several fixes to enhance startup memory footprint and runtime performance taking advantage of ProjectStage.

      -lazy loading of validators, converters, behaviors,components - can have a substantial impact on startup footprint in applications with multiple or very large widget libraries.

      Turn off some updating of resources for ProjectStage=Production by default (can always override using javax.faces.FACELETS_REFRESH_PERIOD)
      -change default facelets refresh interval to -1 when projectStage is production. This by itself gains a 60% improvement in throughput.
      -disable reloading of web.xml and faces-config after the first load.

      -store a map to cache Class to listenerFor and resourceDependency annotations when in production.

      Attachments

        Issue Links

          Activity

            People

              mconcini Michael Concini
              mconcini Michael Concini
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: