Repository navigation
Conversation
Validation on the Batmobile templateI compared the validator before and after this change using the same Batmobile JSON template, standard libraries and dependencies. The comparison calls the backend validation service on an isolated EMF context containing 742 model objects; standard library resources are available for resolution but excluded from validation. The completed comparison excludes validateNamespaceDistinguishibility from both versions. The original full validation was still running after 207 seconds. Thread samples pointed to pairwise membership comparisons repeatedly computing effective names and traversing inheritance. This is a pre-existing performance problem that should be investigated separately. Diagnostic changesAcross the remaining 15,004 constraint evaluations:
All 228 removed diagnostics correspond to unsuccessful or non-Boolean evaluations. They were previously presented as model violations without a reliable semantic conclusion. The change also logs 11 unsuccessful checks that previously returned true and produced no model diagnostic. These failures are now identifiable by rule and affected element. This supports the intended behavior: successfully evaluated model violations remain unchanged, while inconclusive checks no longer produce misleading diagnostics. It does not establish that the Batmobile model is fully valid or that the affected rules have been repaired. Logging and performanceThe existing 977 AQL warning events remain. The validator adds 239 contextual warnings, increasing the captured log volume from approximately 1.18 MB to 1.30 MB per validation. These technical warnings are not returned as user-facing model diagnostics. After one warm-up pair, three measured pairs were executed in alternating order, with synchronous logging to a local file:
There is no observed performance regression on this sample; the median decreases by approximately 2.9%. Allocations are cumulative temporary allocations, not retained heap usage—the maximum heap was 2 GiB. Scope and limitations
|
1603298 to
d746caa
Compare
d746caa to
9b60d8b
Compare
Bug: #2685 Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
9b60d8b to
bfc4c9c
Compare
Bug: #2685
#2685
PLEASE READ ALL ITEMS AND CHECK ONLY RELEVANT CHECKBOXES BELOW
Auto review
Project management
queue:andreview-window:labels been added to the pull request? (In case of doubt, start with the labelsqueue: triageandreview-window: unscheduled)package:,type:)Changelog and release notes
CHANGELOG.adoc+doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adocbeen updated to reference the relevant issues?CHANGELOG.adoc?CHANGELOG.adoc?doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?Key highlightssection indoc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?Documentation
Tests