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

jsf.js: readability and performance improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.9, 2.1.3
    • 2.0.10, 2.1.4
    • None
    • None

    Description

      We have long package names for every call to the inheritance and singleton, Also we use our logging as extension to lang. Both costs performance, and in case of extends sacrifices readability and filesize.
      While I cannot wrap a function around the entire init process, I can temporarily introduce global variables which remap the original long namespace to a short one, and after being done, I can restore the original values again.

      The Logging subframework will be moved into its own singleton, it does not make sense to extend anymore given the size of lang. This also improves the performance by 1-2% in development mode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            werpu Werner Punz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: