Skip to content

Instantly share code, notes, and snippets.

@j2labs
Created March 13, 2012 07:28
Show Gist options
  • Save j2labs/2027421 to your computer and use it in GitHub Desktop.
Save j2labs/2027421 to your computer and use it in GitHub Desktop.
1000 downloads: multiprocessing vs. gevent
jd@bean : 03:24:17 : ~/Projects/playpen/gevent
$ ./downloading_complete.py
With Multiprocessing:
Took 32.3140609264 seconds...
jd@bean : 03:26:32 : ~/Projects/playpen/gevent
$ ./downloading_complete.py
With Gevent:
Took 32.6940128803 seconds...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment