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

[PERF] Cache renderer in UIComponentBase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-SNAPSHOT
    • 2.0.13, 2.1.7
    • General
    • None
    • 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)

      Attachments

        1. MYFACES-3144.patch
          4 kB
          Martin Kočí

        Activity

          People

            lu4242 Leonardo Uribe
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: