Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-108

Improve block rendering performance

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.0.4
    • 1.0.3
    • None
    • Basel 95
    • 5

    Description

      As the linked investigation has illustrated definition resolution impacts the block rendering performance. What is worse the impact grows linearly depending on the registered block definitions amount. The reason for such slow down is the method of locating the related block definition: it is done by iterating over all the available block defs and comparing their {{type
      }} property values.

      Instead we could simply fetch the block def via Registry#getProvider(strId) since for blocks type == name == id. This reduces the general overhead and also makes it independent from the block types amount (boils down to hashmap look-up).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD