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

(JSF.js) Performance fixes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1-SNAPSHOT
    • 2.0.1
    • None
    • None

    Description

      I did some profiling on our scripts today, and found two hotspots in the script include sections both for dev and for deployment project stage.

      For dev the jsf-uncompressed.js was constantly loaded if embedded in ppr (and to the worse
      the subsequent dynamic loads were triggered as well), the same issue except for the subsequent reloads
      also persists for production.

      I also added some forEach fallbacks for arrays on browsers which already have Array.prototype.forEach implemented.
      This is a minor improvement but helps with readability.

      The changes will be committed tomorrow.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: