I have the following code running on a large ubuntu instance:
log.info('ArtworkURL: %s/%s' % (num, num_chunks))
t1 = time.time()
pool = Pool(20)
t2 = time.time()
Doing t2-t1
alone takes almost 30 seconds!!
28.9083909988 Pool |
What could be causing this? This function usually takes less than a half second, even on my local (much less powerful) machine. Python 2.7.