05-17-2013 07:40 AM
When I am using Folder.getChildren() (org.apache.chemistry.opencmis.client.api.Folder), I found that the response time grow linearly with number of children.
From profiling, I found that in org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService
, the method getLatestChangeLogToken(repoId)
is invoked for each children. If there are 100 CMIS objects in the folder, then getLatestChangeLogToken(repoId)
is invoked 100 times.
If there any way to exclude "latest change log" in children as it is not used in my client application? Or there is other way to improve performance?
(as comparison, for 100 items, query with "IN_FOLDER(folder_id)
" takes <200ms but Folder.getChildren(oc)
takes >1s. But I need to use getChildren(oc)
because the children may be of different types.)
version: Nuxeo 5.6
05-17-2013 10:53 AM
Thanks for the report, I opened NXP-11559 to track this issue.
05-17-2013 10:53 AM
Thanks for the report, I opened NXP-11559 to track this issue.
07-15-2013 12:39 PM
Change committed for 5.7.2.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.