Created
March 13, 2012 08:06
-
-
Save j2labs/2027537 to your computer and use it in GitHub Desktop.
1000 conncurrent downloads: gevent vs. multiprocessing on c1.medium
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 Gevent: | |
Took 4.23808407784 seconds... | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Gevent: | |
Took 9.72512888908 seconds... | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Gevent: | |
Took 4.29909491539 seconds... | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Gevent: | |
Took 3.74559497833 seconds... | |
ubuntu@ip-10-244-197-204:~$ vi downloading_complete.py | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 11.4665567875 seconds... | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 11.368792057 seconds... | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 11.7913930416 seconds... | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Multiprocessing: | |
Took 12.0197970867 seconds... | |
ubuntu@ip-10-244-197-204:~$ vi downloading_complete.py | |
ubuntu@ip-10-244-197-204:~$ ./downloading_complete.py | |
With Gevent: | |
Took 3.92761707306 seconds... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment