in reply to very sloooooow!
- Use the script with your prints going to a file or console instead of the network. See what difference that makes.
- Apply a profiler (as in the post above) to the remainder and see what is slow.
- If it is still taking 10 minutes, a couple of progress print statements may be sufficient
- Fix whatever code is slow / occurs right after the point it stops making progress.