I have a large dataset that I am working with. Basically I have a table with 900,000 records that I join to a geodatabase feature layer, then convert that to a raster.
This process takes a total of about 15 minutes if I do it manually in ArcMap.
When I write a python script for it, it takes over 40 minutes.
The table join and creating a feature layer part of my script works fairly quickly (about 2 minutes) but it gets hung up on the convert to raster.
This is the code I am using to convert to raster
This script is imported into a toolbox. I'm not running it in an IDE.