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

[perf] minimize FacesContext.getCurrentInstance() calls

    XMLWordPrintableJSON

Details

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

    Description

      It is good for performance to reduce the ammount of calls to FacesContext.getCurrentInstance(). There are some indirected ways to trigger that call without warning using getClientId(). The idea is pass or cache facesContext when possible.

      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: