Not sure whats happening in the script, but those are hours, right? What's keeping it from processing faster? CPU processing? I/O? Is the querying Bitcoin Core?
Discussion
The sheer number of UTXOs being analyzed at each block. More recent blocks have over 150M UTXOs at this point.
