cancel
Showing results for 
Search instead for 
Did you mean: 

Performance of CMIS Folder.getChildren()

huionn_
Champ in-the-making
Champ in-the-making

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

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

Thanks for the report, I opened NXP-11559 to track this issue.

View answer in original post

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

Thanks for the report, I opened NXP-11559 to track this issue.

Change committed for 5.7.2.

Getting started

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.