MyFaces Core
  1. MyFaces Core
  2. MYFACES-3144

[PERF] Cache renderer in UIComponentBase

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-SNAPSHOT
    • Fix Version/s: 2.0.13, 2.1.7
    • Component/s: General
    • Labels:
      None
    • Environment:
      myfaces core trunk

      Description

      UIComponentBase uses getRenderer(): Renderer in five methods:
      1) decode
      2) encodeBegin
      3) encodeChildren
      4) encodeEnd
      50 getClientId

      getting the renderer is not cheap if you have thousands component in view.

      Cache renderer instance in UIComponentBase (Trinidad UIXComponentBase does it already)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development