Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-EDR
    • Fix Version/s: 2.1
    • Component/s: EL
    • Labels:
      None
    • Environment:

      Operating System: ALL
      Platform: ALL

    • Issuezilla Id:
      137

      Description

      To help prevent synchronization locks found in PropertyDescriptor's public
      methods, I would like to recommend implementing caching within BeanELResolver.
      JSF-API's UIComponentBase also uses PropertyDescriptor caching in order to
      improve performance.

      Stress testing EL at over one million iterations increased performance from 10
      seconds to 8 seconds (#

      {person.children[0].children[0].name}

      ). Like my last
      patch, the performance difference isn't huge, but the little changes are helpful.

        Activity

        Hide
        jhook added a comment -

        Created an attachment (id=3)
        Caching PropertyDescriptors and isolating error managment

        Show
        jhook added a comment - Created an attachment (id=3) Caching PropertyDescriptors and isolating error managment
        Hide
        kchung added a comment -

        Bean caching similiar to the propsed patch was in JSP 2.1

        Show
        kchung added a comment - Bean caching similiar to the propsed patch was in JSP 2.1

          People

          • Assignee:
            jhook
            Reporter:
            jhook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: