<?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 What is your &amp;quot;import arcpy&amp;quot; overhead? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511667#M40201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm curious, how long does it take in your machine(s) for your scripts to get ready to start working?&lt;/P&gt;&lt;P&gt;Put something like this at the beginning of some scripts and share the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; timeit &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; default_timer &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; timer
start &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; datetime &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; datetime&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; timedelta
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'=== {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;datetime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;now&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

start_arc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
done_arc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; start_arc

&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'--- import arcpy overhead: {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;timedelta&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;seconds&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;done_arc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#import os, math, ...&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#carry on with your stuff&lt;/SPAN&gt;

elapsed_time &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timedelta&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;seconds&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; start&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# get timer seconds and convert to hh:mm:ss&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'=== Total Elapsed Time: {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;elapsed_time&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After about a week and perhaps 30 trials in various circumstances the fastest time I've ever seen is 7.8 seconds, the slowest is 10.5, and the median is ~8.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(updated code to run in py 2.7 and 3.6+)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:23:48 GMT</pubDate>
    <dc:creator>MattWilkie1</dc:creator>
    <dc:date>2021-12-11T22:23:48Z</dc:date>
    <item>
      <title>What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511667#M40201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm curious, how long does it take in your machine(s) for your scripts to get ready to start working?&lt;/P&gt;&lt;P&gt;Put something like this at the beginning of some scripts and share the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; timeit &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; default_timer &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; timer
start &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; datetime &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; datetime&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; timedelta
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'=== {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;datetime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;now&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

start_arc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
done_arc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; start_arc

&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'--- import arcpy overhead: {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;timedelta&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;seconds&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;done_arc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#import os, math, ...&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#carry on with your stuff&lt;/SPAN&gt;

elapsed_time &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; timedelta&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;seconds&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;timer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; start&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# get timer seconds and convert to hh:mm:ss&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'=== Total Elapsed Time: {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;elapsed_time&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After about a week and perhaps 30 trials in various circumstances the fastest time I've ever seen is 7.8 seconds, the slowest is 10.5, and the median is ~8.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(updated code to run in py 2.7 and 3.6+)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511667#M40201</guid>
      <dc:creator>MattWilkie1</dc:creator>
      <dc:date>2021-12-11T22:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511668#M40202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On Windows 10 with ArcGIS 10.5.1, run from VS Code&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;--- import arcpy overhead: 0:00:02.766314
=== Total Elapsed Time: 0:00:02.768425‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511668#M40202</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-12-11T22:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511669#M40203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is everyone in a rush today &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or is esri's "call home" slow today?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/249381-strip-arcpy-libraries"&gt;https://community.esri.com/thread/249381-strip-arcpy-libraries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511669#M40203</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-05T22:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511670#M40204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh wow, I want times like that. It's so annoying to wait 10 secs for startup and then have the real work happen in half that time. I wonder why mine is so much slower. What's your machine and how are you licensed (AGOL Named User, Concurrent, Single Use, Portal, ...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My machine:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dell Precision Tower 7810&lt;BR /&gt;2 physical processors: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz, 2401 Mhz, 6 Core(s), 12 Logical Processor(s)&lt;/P&gt;&lt;P&gt;32 GB Ram&lt;/P&gt;&lt;P&gt;Win10 Enterprise x64, version 10.0.18362 Build 18362&lt;/P&gt;&lt;P&gt;C: and &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; are Samsung SSD 840 EVO 500GB (SSD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Licensing:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pro: AGOL Named User&lt;/P&gt;&lt;P&gt;ArcMap: Concurrent license manager (in same building).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pro's python 3.6 via Pyzo IDE:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;--- import arcpy overhead: 0:00:09.052498&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;ArcMap's python 2.7 via Pyzo IDE:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;--- import arcpy overhead: 0:00:06.414285&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;(I updated the code in first post so it will run in python 2.7 also)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511670#M40204</guid>
      <dc:creator>MattWilkie1</dc:creator>
      <dc:date>2020-03-05T22:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511671#M40205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/361276"&gt;Matt Wilkie&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My results are:&lt;/P&gt;&lt;P&gt;=== 2020-03-06 09:54:51.555443&lt;BR /&gt;--- import arcpy overhead: 0:00:05.055231&lt;BR /&gt;=== Total Elapsed Time: 0:00:05.098868&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;EM&gt;If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511671#M40205</guid>
      <dc:creator>BenTurrell</dc:creator>
      <dc:date>2020-03-05T22:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511672#M40206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my local PC, ArcGIS Desktop 10.8 runs around 4 seconds while ArcGIS Pro 2.5 takes 14 seconds.&amp;nbsp; The difference in times on my machine is easily explained by licensing mode/model.&amp;nbsp; For ArcGIS Desktop 10.8 I am using Single-Use (which will be the fastest of any licensing model) while for Pro 2.5 I am using Named User licensing from AGOL.&amp;nbsp; I am quite sure that Single Use licensing for Pro would put it down around 6 seconds or faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you care about ArcPy startup times, it starts with sharing what your current licensing model is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 00:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511672#M40206</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-03-06T00:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511673#M40207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/361276" target="_blank"&gt;Matt Wilkie&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My results were:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;=== 2020-03-06 15:15:35.488000
--- import arcpy overhead: 0:00:03.081489
=== Total Elapsed Time: 0:00:03.094335

Shane&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511673#M40207</guid>
      <dc:creator>ShaneMiles</dc:creator>
      <dc:date>2021-12-11T22:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511674#M40208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I surprised to see:&lt;/P&gt;&lt;P&gt;=== 2020-03-06 15:20:12.398747&lt;BR /&gt;--- import arcpy overhead: 0:00:02.838384&lt;BR /&gt;=== Total Elapsed Time: 0:00:02.838892&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It always seems much longer that that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(arcgis Pro 2.5, advanced license as named user in agol...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 22:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511674#M40208</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-06T22:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511675#M40209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You either had Pro open or was working with Pro earlier in the day.&amp;nbsp; If you reboot and do a cold test, i.e., without having open Pro, I am guessing it will be noticeably longer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 22:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511675#M40209</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-03-06T22:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511676#M40210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after a machine restart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== 2020-03-06 15:30:26.956646&lt;BR /&gt;--- import arcpy overhead: 0:00:03.617659&lt;BR /&gt;=== Total Elapsed Time: 0:00:03.618505&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is still faster than I would have bet on.&amp;nbsp; It always seems longer than that. Just restarted spyder and got:&lt;/P&gt;&lt;P&gt;=== 2020-03-06 15:33:50.404610&lt;BR /&gt;--- import arcpy overhead: 0:00:03.998263&lt;BR /&gt;=== Total Elapsed Time: 0:00:03.998689&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interesting.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 22:32:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511676#M40210</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-03-06T22:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511677#M40211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is interesting.&amp;nbsp; Are you sure you aren't sitting in an Esri office somewhere... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 23:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511677#M40211</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-03-06T23:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511678#M40212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cold start (both computer and operator)&lt;/P&gt;&lt;P&gt;Named User license&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== 2020-03-06 18:15:53.214205&lt;BR /&gt;--- import arcpy overhead: 0:00:07.948694&lt;BR /&gt;=== Total Elapsed Time: 0:00:07.949882&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spyder, kernel restart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== 2020-03-06 18:17:48.751537&lt;BR /&gt;--- import arcpy overhead: 0:00:07.402486&lt;BR /&gt;=== Total Elapsed Time: 0:00:07.403328&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly, just about everything in the stream imports arcpy at some point&lt;/P&gt;&lt;P&gt;but if you just import what you need, you keep the namespace uncluttered.&lt;/P&gt;&lt;P&gt;Also, import python modules and other 3rd party modules "before" you import arcpy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My favorite... just run it again with no restart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== 2020-03-06 18:19:29.711990&lt;BR /&gt;--- import arcpy overhead: 0:00:00.000067&lt;BR /&gt;=== Total Elapsed Time: 0:00:00.000738&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 23:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511678#M40212</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-06T23:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511679#M40213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated the script so it outputs as a table, for easier comparison:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gist.github.com/maphew/75fe87663313c6eba3c5d747dff7f2cc" title="https://gist.github.com/maphew/75fe87663313c6eba3c5d747dff7f2cc"&gt;What is your "import arcpy" overhead? · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to add what the license type and status is?&amp;nbsp; (are we currently in mode "Single Use, Concurrent, Concurrent but Borrowed, AGOL, AGOL but Offline" etc.?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what about automatically appending to a public report Gist or similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2020 00:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511679#M40213</guid>
      <dc:creator>MattWilkie1</dc:creator>
      <dc:date>2020-03-07T00:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511680#M40214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They may be in the arcgis module&lt;/P&gt;&lt;P&gt;Do you want the additions there? or here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2020 01:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511680#M40214</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-07T01:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511681#M40215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There would be easier to track I think (and thanks in advance!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2020 21:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511681#M40215</guid>
      <dc:creator>MattWilkie1</dc:creator>
      <dc:date>2020-03-07T21:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511682#M40216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are my results on Windows 10 running ArcGIS Pro 2.5:&lt;/P&gt;&lt;P&gt;=== 2020-03-09 16:22:25.363385&lt;BR /&gt;--- import arcpy overhead: 0:00:03.624114&lt;BR /&gt;=== Total Elapsed Time: 0:00:03.646515&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 20:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511682#M40216</guid>
      <dc:creator>MattAdams</dc:creator>
      <dc:date>2020-03-09T20:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511683#M40217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are my results running from command line on Windows 10 Enterprise (64 bit); RAM: 8GB; Processor: Intel Core i#-6100 CPU @ 3.70GHz; ArcGIS Desktop 10.5.1 - License: Advanced (ArcInfo) Single Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=== 2020-03-10 12:05:39.100000&lt;BR /&gt;--- import arcpy overhead: 0:00:02.663260&lt;BR /&gt;=== Total Elapsed Time: 0:00:02.666598&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surprised to see how it is a good result comparing with the other answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 12:18:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511683#M40217</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2020-03-10T12:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is your "import arcpy" overhead?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511684#M40218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Desktop 10.5 - concurrent license;&amp;nbsp;Win 10 Enterprise x64, 64GB RAM; test through PyCharm&lt;/P&gt;&lt;P&gt;First run: 9.35 seconds&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second run: 3.86 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pro 2.4 - AGOL license; test through PyCharm&lt;/P&gt;&lt;P&gt;First run: 5.8 seconds&lt;/P&gt;&lt;P&gt;Second run: 4.3 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-your-quot-import-arcpy-quot-overhead/m-p/511684#M40218</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-10T15:23:10Z</dc:date>
    </item>
  </channel>
</rss>

