<?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: Excessive time consumption to execute a geoprocessing package with Local Server in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331892#M12140</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3014"&gt;@MichaelBranscomb&lt;/a&gt;&amp;nbsp;, i have sent the relevant code to&amp;nbsp; your email and am looking forward to your reply.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2023 11:04:39 GMT</pubDate>
    <dc:creator>AlexanderZhang</dc:creator>
    <dc:date>2023-09-25T11:04:39Z</dc:date>
    <item>
      <title>Excessive time consumption to execute a geoprocessing package with Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331357#M12133</link>
      <description>&lt;P&gt;Hi, all&lt;/P&gt;&lt;P&gt;I use ArcGIS Runtime Local Server(200.1) and ArcGIS Maps SDK for .Net(200.2). As the title says, i created a geoprocessing package (.gpkx) in ArcGIS Pro(3.02) involving a custom geoprocessing script tool, and executed it with Local Server, it spent too much time waiting to get results(it takes about 6 seconds). I made many attempts to reduce time consumption, but with no success, i encountered the following situation that made me wonder:&lt;/P&gt;&lt;P&gt;1.If the time-consuming of executing the geoprocessing package is less than 1 second, it needs to wait about 1.1 seconds to get the result.&lt;/P&gt;&lt;P&gt;2.If the time-consuming of executing the geoprocessing package is more than 1 second(such as 1.35 second), it needs to wait about 6.1 seconds to get the result. why?&lt;/P&gt;&lt;P&gt;For the second situation, the job's Message shows as follows :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Job's Messages" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81351iFBAD20E8CC78D079/image-size/large?v=v2&amp;amp;px=999" role="button" title="Message2.png" alt="Job's Messages" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job's Messages&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can some help me please? thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 07:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331357#M12133</guid>
      <dc:creator>AlexanderZhang</dc:creator>
      <dc:date>2023-09-22T07:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive time consumption to execute a geoprocessing package with Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331375#M12134</link>
      <description>&lt;P&gt;I think there may be built in logic to avoid continually polling the service to check if it's done, but 6 seconds sounds suspicious for a job that you say takes just over 1 second to complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the code you're using to execute the GP job and also for timing?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 09:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331375#M12134</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2023-09-22T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive time consumption to execute a geoprocessing package with Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331384#M12135</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3014"&gt;@MichaelBranscomb&lt;/a&gt;&amp;nbsp;for your&amp;nbsp; quick reply, i will show you the code executing the GP&amp;nbsp; job next monday, i&amp;nbsp;didn't write code to calculate time-consuming,&amp;nbsp;i just observed the time taken by setting breakpoints in VS2022.&amp;nbsp;Also, there is some information provided in the photo I attached above, the last line shows that it took 1.35 seconds to execute the package,&amp;nbsp;the seventh and fourth-to-last rows show when the job starts and&amp;nbsp; is completed, respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 10:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331384#M12135</guid>
      <dc:creator>AlexanderZhang</dc:creator>
      <dc:date>2023-09-22T10:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Excessive time consumption to execute a geoprocessing package with Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331892#M12140</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3014"&gt;@MichaelBranscomb&lt;/a&gt;&amp;nbsp;, i have sent the relevant code to&amp;nbsp; your email and am looking forward to your reply.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 11:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/excessive-time-consumption-to-execute-a/m-p/1331892#M12140</guid>
      <dc:creator>AlexanderZhang</dc:creator>
      <dc:date>2023-09-25T11:04:39Z</dc:date>
    </item>
  </channel>
</rss>

