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

[perf] FacesServletMappingUtils.isFacesServlet calls ClassUtils.simpleClassForName on every request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0-beta
    • 2.3.0
    • JSR-372
    • None

    Description

      FacesServletMappingUtils.isFacesServlet is invoked on every request. This means that ClassUtils.simpleClassForName() will also be invoked on every request. We need to cache the boolean value for each servletClassName to improve performance.

      Attachments

        1. MYFACES-4202.patch
          4 kB
          Eduardo Breijo

        Activity

          People

            eduardobreijo Eduardo Breijo
            eduardobreijo Eduardo Breijo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: