<?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: Speed up Geoprocessing tools in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1548892#M12175</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 01:57:44 GMT</pubDate>
    <dc:creator>MK13</dc:creator>
    <dc:date>2024-10-16T01:57:44Z</dc:date>
    <item>
      <title>Speed up Geoprocessing tools</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1548208#M12168</link>
      <description>&lt;P&gt;Is there a way to speed up GP tools? I am running the GP tool below&lt;/P&gt;&lt;PRE&gt;await Geoprocessing.ExecuteToolAsync("gapro.DissolveBoundaries", paramsDissolveBndry)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and it takes 20s to run. It doesn't seem like much but I am running it as part of a loop that runs for hundreds of iterations. I have 2 other GP tools in my code and they slow it down considerably. When I timed my code, the slowest parts are the GP tools by far. Any tips to optimise them?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 21:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1548208#M12168</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2024-10-11T21:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up Geoprocessing tools</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1548892#M12175</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 01:57:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1548892#M12175</guid>
      <dc:creator>MK13</dc:creator>
      <dc:date>2024-10-16T01:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Speed up Geoprocessing tools</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1556341#M12267</link>
      <description>&lt;P&gt;When you use ExecuteToolAsync in a loop, I would recommend setting the GPExecuteToolFlags to GPExecuteToolFlags.None (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9375.html" target="_blank"&gt;GPExecuteToolFlags Enumeration—ArcGIS Pro&lt;/A&gt;)&amp;nbsp; except for your last loop.&amp;nbsp; &amp;nbsp;For your last ExecuteToolAsync call use&amp;nbsp;GPExecuteToolFlags.Default&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 15:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/speed-up-geoprocessing-tools/m-p/1556341#M12267</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2024-11-07T15:56:38Z</dc:date>
    </item>
  </channel>
</rss>

