Created
March 13, 2012 07:54
-
-
Save j2labs/2027506 to your computer and use it in GitHub Desktop.
1000 downloads: gevent vs multiprocessing c1.small
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With Multiprocessing: | |
Took 37.3345718384 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 36.8940429688 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 37.2605760098 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 36.9774720669 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ vi downloading_complete.py | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Gevent: | |
Took 5.00462698936 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Gevent: | |
Took 5.04026007652 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Gevent: | |
Took 4.94622206688 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ ./downloading_complete.py | |
With Gevent: | |
Took 7.62545204163 seconds... | |
ubuntu@domU-12-31-39-09-29-F2:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you will be able to answer my question . http://stackoverflow.com/questions/9994566/multiprocessing-vs-gevent