[jboss-jira] [JBoss JIRA] (DROOLS-3056) [DMN Designer] Data Types - List View Performance - The view items take ~100ms to be instantiated
Guilherme Carreiro (Jira)
issues at jboss.org
Thu Oct 11 08:48:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guilherme Carreiro updated DROOLS-3056:
---------------------------------------
Story Points: 5 (was: 3)
> [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/7f9a51f866fca11f7e7b10bc74a1d86591a7bf9c/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/types/listview/DataTypeList.java#L110] 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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list