ICEfaces
  1. ICEfaces
  2. ICE-4772

selective attribute use for performance optimization

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description


      Certain component attributes are used very frequently (such as renderedOnUserRole) and attribute retrieval can be expensive on JSF 1.1 implementations.

      For instance,

          <context-param>
              <param-name>com.icesoft.faces.ignoreUserRoleAttributes</param-name>
              <param-value>true</param-value>
          </context-param>

      could configure the component library to ignore the renderedOnUserRole and enabledOnUserRole, thereby saving approximately 5% of the rendering time.

        Activity

        Hide
        Ted Goddard added a comment -

        The fix checked in for ignoreUserRoleAttributes makes use of static configuration for the optimization. If multiple .war deployment with different configuration is required, the implementation can be modified for this (at a slight loss of benefit of the optimization due to the HashTable lookups that will be required).

        Show
        Ted Goddard added a comment - The fix checked in for ignoreUserRoleAttributes makes use of static configuration for the optimization. If multiple .war deployment with different configuration is required, the implementation can be modified for this (at a slight loss of benefit of the optimization due to the HashTable lookups that will be required).

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: