Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2773

Optimize Action System

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2 M3
    • Component/s: None

      Description

      When profiling JSF WebApp a lot of time is spent in the action system.
      This makes sens since actions are used a lot during page construction.
      But the profiler shows that we spend most of the time creating el expressions rather than evaluating them.

      The ratio is really significant 85% of the time is spent in el expression creation.parsing.
      The apache el doc does not say is el expression is threadsafe or not : by default, I assume they are not.
      See an attached "patch" for that.

        Attachments

        1. CachedJEXLManager.java
          0.6 kB
          Thierry Delprat
        2. NXP-2773.diff
          2 kB
          Thierry Delprat
        3. TestActionCache.java
          1 kB
          Thierry Delprat
        4. ThreadSafeJexlExpression.java
          0.5 kB
          Thierry Delprat

          Issue Links

            Activity

              People

              • Assignee:
                tdelprat Thierry Delprat
                Reporter:
                tdelprat Thierry Delprat
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: