[CDO] Performance issues while migrating to java 11 ? [message #1853388] |
Thu, 30 June 2022 05:42  |
Eclipse User |
|
|
|
Hello,
I was using CDO 4.6 with java 8.
I am trying to migrate to CDO 4.13 with java 11 (eclipse 2021-03) but I have performance issues.
For example, I have made a test with a very simple model (CDO native):
The model:
* object1
* object2
references[0..*] to object1 (containment=false, ordered=true, resolve proxies=true, unique=true)
The test:
adding 5000 object1 in the list "references" of one object2 and mesuring only the time of "add" call
The results:
* java 8: around 80ms
* java 11: around 120ms
Analysis:
I have determined that the delay for this test was due to the loop about the proxy resolution in "DelegatingEcoreEList.contains()" method (in org.eclipse.emf.ecore plugin). But I don't find why the delegateGet method takes more time in java 11.
In a second test with changing the "resolve proxies" parameter to false, I get the same time in java 8 and java 11: around 80ms.
These were just tests and don't completely correspond to my use case but the performance delay for my use case seems to be in the same order of magnitude.
Has anyone got the same kind of performance issues while migrating to java 11 (or greater) ?
Thanks in advance.
Cyril
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10262 seconds