cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2325) Modeler: validation take most time in the project loading/saving action
Date Fri, 09 Feb 2018 08:39:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev closed CAY-2325.
--------------------------------
    Resolution: Cannot Reproduce

As of 4.1.M2 version validation takes only tens of milliseconds. Not sure what have changed,
but closing this for now.

> Modeler: validation take most time in the project loading/saving action
> -----------------------------------------------------------------------
>
>                 Key: CAY-2325
>                 URL: https://issues.apache.org/jira/browse/CAY-2325
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M2
>
>
> After some performance profiling most of the time loading/saving project spend in the
validation, slow methods are (especially for big projects):
> ObjEntityValidator.validateName() and DbEntityValidator().validateName().
> Possible solution can be moving validation to a separate thread and/or introducing checkbox
in preferences to disable automatic validation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message