<?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: What causes a slow analysis of a python tool in Pro? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543879#M72963</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Project menu&lt;/P&gt;&lt;P&gt;options&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116165iE958911CBE7707E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p.png" alt="p.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 16:51:39 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2024-09-30T16:51:39Z</dc:date>
    <item>
      <title>What causes a slow analysis of a python tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543737#M72957</link>
      <description>&lt;P&gt;My python tool is suddenly slower than usual in ArcGIS Pro 3.3, nothing happens before the first message gets logged. I enabled the debugging of the GP tools and found this (parts of the output are in german language): The tool&amp;nbsp; has&amp;nbsp; a &lt;STRONG&gt;very long pre execution time&lt;/STRONG&gt;, what could possibly be the reason for that? The tool is written in a Python Toolbox with the pyt extension.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DEBUG: ProcessExecution of BerichtTool using ArcGISPro 3.3 (Build 52636)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DEBUG: GPEventTiming ProcessExecution found 0 issue(s) after analyzing tool for use within Pro time 310,893000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Startzeit: Montag, 30. September 2024 09:22:13 (13.3.0.52636)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DEBUG: GPEventTiming ProcessExecution PreExecution time 311,614000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Ausführung von: BerichtTool "C:\data\output.pdf"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Startzeit: Montag, 30. September 2024 09:27:24 (13.3.0.52636)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 30 Sep 2024 08:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543737#M72957</guid>
      <dc:creator>Stefan_Offermann</dc:creator>
      <dc:date>2024-09-30T08:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: What causes a slow analysis of a python tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543738#M72958</link>
      <description>&lt;P&gt;was it faster with the same data in a prior build?&lt;/P&gt;&lt;P&gt;are all the data locally stored?&lt;/P&gt;&lt;P&gt;what imports are you doing?&lt;/P&gt;&lt;P&gt;perhaps, showing the script would be useful&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 09:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543738#M72958</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-09-30T09:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: What causes a slow analysis of a python tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543746#M72959</link>
      <description>&lt;P&gt;- I am not 100% sure if this correlates with the latest Pro 3.3.2 on my machine.&lt;/P&gt;&lt;P&gt;- data is stored in local FGDBs on drive C&lt;/P&gt;&lt;P&gt;- imports are: arcpy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; os,&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;datetime, time, json,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;subprocess, uuid, logging, tempfile, sys,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;configparser, &lt;SPAN&gt;pathlib from&amp;nbsp;&lt;/SPAN&gt;Path&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- other py files are also loaded from the pyt file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have currently gained performance by switching off "Analyze script and model tools for ArcGIS Pro compatibility" --&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/geoprocessing-options.htm#ESRI_SECTION1_1F6D80B769F2413EBA6A9C5B43725C46" target="_blank" rel="noopener"&gt;Geoprocessing options—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This seems to run very long, but for what reason? some of my imports, my other py files?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 09:42:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543746#M72959</guid>
      <dc:creator>Stefan_Offermann</dc:creator>
      <dc:date>2024-09-30T09:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: What causes a slow analysis of a python tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543750#M72960</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/analyzetoolsforpro.htm" target="_blank"&gt;Analyze Tools For Pro (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can be run manually and there would be little use to run it if you are only using Pro, or after a successful run the first time.&lt;/P&gt;&lt;P&gt;I see no point in having it as part of your default options&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 09:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543750#M72960</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-09-30T09:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: What causes a slow analysis of a python tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543756#M72961</link>
      <description>&lt;P&gt;As my tool was written for Pro and had no ancestor from ArcMap, the "Analyze Tools For Pro" tool results in "No problems" which is good.&amp;nbsp; Is the check for compatibility a&amp;nbsp;default option? If this is not activated by default on every machine, I have no problem when this runs slow.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 10:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543756#M72961</guid>
      <dc:creator>Stefan_Offermann</dc:creator>
      <dc:date>2024-09-30T10:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: What causes a slow analysis of a python tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543879#M72963</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Project menu&lt;/P&gt;&lt;P&gt;options&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116165iE958911CBE7707E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p.png" alt="p.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 16:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-causes-a-slow-analysis-of-a-python-tool-in/m-p/1543879#M72963</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-09-30T16:51:39Z</dc:date>
    </item>
  </channel>
</rss>

