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

[PERF] Improve Application.createConverter(Class<?> forClass) method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.8, 2.1.2
    • JSR-314
    • None

    Description

      This method is called every time a h:outputText is rendered. The problem is each time it calls ClassUtils.simpleClassForName, which is an expensive call. For Application.createConverter(final String converterId) we use a _converterIdToClassMap that reduce the cost involved but we don't have something similar on Application.createConverter(Class<?> forClass).

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: