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] [Created] (CAY-2325) Modeler: validation take most time in the project loading/saving action
Date Mon, 29 May 2017 11:12:04 GMT
Nikita Timofeev created CAY-2325:
------------------------------------

             Summary: 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


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
(v6.3.15#6346)

Mime
View raw message