Skip to content

Instantly share code, notes, and snippets.

@carimura
Created January 31, 2013 23:05
Show Gist options
  • Save carimura/4687547 to your computer and use it in GitHub Desktop.
Save carimura/4687547 to your computer and use it in GitHub Desktop.
from tasks import add
import time
start=time.time()
for i in range(1000):
add.delay(1,i)
print "queued job %x" % (i)
print "finished in %x seconds" % (time.time() - start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment