<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Performance of CMIS Folder.getChildren() in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319797#M6798</link>
    <description>&lt;P&gt;Thanks for the report, I opened &lt;A href="https://jira.nuxeo.com/browse/NXP-11559"&gt;NXP-11559&lt;/A&gt; to track this issue.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2013 14:53:09 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-05-17T14:53:09Z</dc:date>
    <item>
      <title>Performance of CMIS Folder.getChildren()</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319796#M6797</link>
      <description>&lt;P&gt;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 &lt;CODE&gt;org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService&lt;/CODE&gt;, the method &lt;CODE&gt;getLatestChangeLogToken(repoId)&lt;/CODE&gt; is invoked for each children. If there are 100 CMIS objects in the folder, then &lt;CODE&gt;getLatestChangeLogToken(repoId)&lt;/CODE&gt; is invoked 100 times.&lt;/P&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;(as comparison, for 100 items, query with "&lt;CODE&gt;IN_FOLDER(folder_id)&lt;/CODE&gt;" takes &amp;lt;200ms but &lt;CODE&gt;Folder.getChildren(oc)&lt;/CODE&gt; takes &amp;gt;1s. But I need to use &lt;CODE&gt;getChildren(oc)&lt;/CODE&gt; because the children may be of different types.)&lt;/P&gt;
&lt;P&gt;version: Nuxeo 5.6&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2013 11:40:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319796#M6797</guid>
      <dc:creator>huionn_</dc:creator>
      <dc:date>2013-05-17T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Performance of CMIS Folder.getChildren()</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319797#M6798</link>
      <description>&lt;P&gt;Thanks for the report, I opened &lt;A href="https://jira.nuxeo.com/browse/NXP-11559"&gt;NXP-11559&lt;/A&gt; to track this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2013 14:53:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319797#M6798</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-05-17T14:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance of CMIS Folder.getChildren()</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319798#M6799</link>
      <description>&lt;P&gt;Change committed for 5.7.2.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 16:39:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/performance-of-cmis-folder-getchildren/m-p/319798#M6799</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-07-15T16:39:14Z</dc:date>
    </item>
  </channel>
</rss>

