[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
Fri Sep 28 13:22:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guilherme Carreiro updated DROOLS-3056:
---------------------------------------
Description:
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 50).
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.
was:
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 50).
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.
> [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
> Labels: drools-tools
>
> 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 50).
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list