Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
1.0.3
-
None
-
-
Empty show more show less
-
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
- Wiki Page
-
Wiki Page Loading...