<?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 iteration through ResultsReaderXml is slow - java sdk in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/iteration-through-ResultsReaderXml-is-slow-java-sdk/m-p/504532#M9036</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I iterate through ResultsReaderXml, it takes 8-10 seconds to iterate through 500-700 events.&lt;/P&gt;&lt;P&gt;The simple code&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ArrayList&amp;lt;Event&amp;gt; rows = &lt;SPAN&gt;new &lt;/SPAN&gt;ArrayList&amp;lt;Event&amp;gt;();&lt;BR /&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;(Event eventObject : resultsReader) {&lt;BR /&gt;    rows.add(eventObject);&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;takes 8-10 seconds. Please suggest.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2020 05:29:50 GMT</pubDate>
    <dc:creator>kumarroopesh</dc:creator>
    <dc:date>2020-06-16T05:29:50Z</dc:date>
    <item>
      <title>iteration through ResultsReaderXml is slow - java sdk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/iteration-through-ResultsReaderXml-is-slow-java-sdk/m-p/504532#M9036</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I iterate through ResultsReaderXml, it takes 8-10 seconds to iterate through 500-700 events.&lt;/P&gt;&lt;P&gt;The simple code&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ArrayList&amp;lt;Event&amp;gt; rows = &lt;SPAN&gt;new &lt;/SPAN&gt;ArrayList&amp;lt;Event&amp;gt;();&lt;BR /&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;(Event eventObject : resultsReader) {&lt;BR /&gt;    rows.add(eventObject);&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;takes 8-10 seconds. Please suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 05:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/iteration-through-ResultsReaderXml-is-slow-java-sdk/m-p/504532#M9036</guid>
      <dc:creator>kumarroopesh</dc:creator>
      <dc:date>2020-06-16T05:29:50Z</dc:date>
    </item>
  </channel>
</rss>

