Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-9794Reduce template invocations
      KULRICE-5010Improve role-member logic in RoleManagementServiceImpl.removePrincipalFromRole for performance
      KULRICE-10353Inline processing of FreeMarker templates
      KULRICE-5329Fix numeric comparisons on KEW identifiers that are no longer logical when those identifiers are Strings
      KULRICE-11678Rework base html template
      KULRICE-7208Template
      KULRICE-4131Fix backdoor login logic
      KULRICE-4829extract logic from IngesterAction
      KULRICE-10545Review document search for lookup analysis items
      KULRICE-746The ruleInstructions element must be defined on the ruleDefaults for Rule Template XML
    • Epic Link:
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Review all FTL templates to see what logic can be pulled out of the template and moved into code. Any statements (if, loop, etc.) are much more expensive to do in templates as opposed to code.

      Also, look into removing compression calls except for the one around the entire render. These are really expensive.

        Issue Links

          Activity

          Jessica Coltrin (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 2.4 [ 16913 ]
          Fix Version/s 2.3 [ 16595 ]
          Fix Version/s 2.3.0-m3 [ 16758 ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.4-backlog [ 16596 ]
          Fix Version/s 2.4 [ 16913 ]
          Jessica Coltrin (Inactive) made changes -
          Priority Critical [ 2 ] Major [ 3 ]
          Matt Sargent made changes -
          Documentation Review Status Pending Review [ 14643 ] Not Required [ 14642 ]
          Jerry Neal (Inactive) made changes -
          Parent KULRICE-6557 [ 87905 ]
          Issue Type Sub Task [ 43 ] Improvement [ 4 ]
          Jerry Neal (Inactive) made changes -
          Epic Link KULRICE-10089 [ 120211 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 202181 ] Copy of custom for rice [ 208095 ]
          Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 208095 ] custom [ 217843 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 217843 ] Rice Workflow [ 227591 ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.4 [ 16913 ]
          Fix Version/s 2.4-backlog [ 16596 ]
          Hide
          Mark Fyffe (Inactive) added a comment -

          Jerry,

          KULRICE-10353 was implemented based on analysis of existing freemarker tempaltes, and put together specifically for the purpose of moving high-volume logic (if/loop statements, high-traffic bean property lookups, etc) from templates to compiled code.

          Based on analysis of which templates had the biggest footprint, the following were converted from FreeMarker template code to inline Java code:

          • template.ftl
          • script.ftl
          • collectionGroup.ftl
          • stacked.ftl
          • groupWrap.ftl

          Further review and optimization of FreeMarker template logic, if needed, will be simplified by the inline template processing feature.

          Best,
          Mark

          Show
          Mark Fyffe (Inactive) added a comment - Jerry, KULRICE-10353 was implemented based on analysis of existing freemarker tempaltes, and put together specifically for the purpose of moving high-volume logic (if/loop statements, high-traffic bean property lookups, etc) from templates to compiled code. Based on analysis of which templates had the biggest footprint, the following were converted from FreeMarker template code to inline Java code: template.ftl script.ftl collectionGroup.ftl stacked.ftl groupWrap.ftl Further review and optimization of FreeMarker template logic, if needed, will be simplified by the inline template processing feature. Best, Mark
          Mark Fyffe (Inactive) made changes -
          Link This issue relates to KULRICE-10353 [ KULRICE-10353 ]
          Jerry Neal (Inactive) made changes -
          Component/s User Experience (UX) [ 13465 ]
          Jerry Neal (Inactive) made changes -
          Fix Version/s Backlog [ 15811 ]
          Fix Version/s 2.4 [ 16913 ]
          Eric Westfall made changes -
          Labels Old

            People

            • Assignee:
              Unassigned
              Reporter:
              Jerry Neal (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel