]
Guilherme Carreiro updated DROOLS-3056:
---------------------------------------
Sprint: 2018 Week 45-47
[DMN Designer] Data Types - List View Performance - The view items
take ~100ms to be instantiated
-------------------------------------------------------------------------------------------------
Key: DROOLS-3056
URL:
https://issues.jboss.org/browse/DROOLS-3056
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Reporter: Guilherme Carreiro
Assignee: Guilherme Carreiro
Priority: Major
Labels: drools-tools
Attachments: DMCommunity Challenge - March 2017.dmn
The creation of a new {{DataTypeListItem}}
[
here|https://github.com/kiegroup/kie-wb-common/blob/7f9a51f866fca11f7e7b1...]
takes 100ms. This impacts the load time of the Data Types dialog when the user has many
data types (e.g. more than 100).
To solve this problem, we can pre-instantiate a poll of views and re-use them or take new
views from this pool. I just validate this idea with a PoC, and I could reduce 70% of the
load time.
h2. Acceptance test
# A lot of custom items, add top level item
# A lot of custom items, remove top level item
# Nested levels, add new deepest level item
# Nested levels, remove deepest level item