Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Python Script Tool Startup Performance

$
0
0
I created a series of Python script tools that run in ArcMap 10.2 and noticed that there was significant lag before any code I wrote ran.

As a test, I created a Python script file with no executable code in it. I didn't even import arcpy. Under these conditions, the tool still takes around 25 seconds to run.

I tried enabling/disabling background processing and logging, and neither of these had a noticeable effect.

Does anyone have any suggestions for how to improve script tool startup speed?

Viewing all articles
Browse latest Browse all 2485

Trending Articles