-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
@npcoder2k14 Why are you using multiprocessing pool at here https://github.com/npcoder2k14/SpeedTest/blob/master/speed.py#L71 , as per my understanding at a time you can only send request to a particular server, launching pools will put them in a waiting #queue, instead you can call the function sequentially , saving overheads attached with command queues, etc thus less time in searching for a proxy. Also files are not automatically removed. Use of open is deprecated https://github.com/npcoder2k14/SpeedTest/blob/master/speed.py#L33 , use with open instead, there.
Also will 5 seconds do the job instead of 10 ? 10 seconds is quite a lot of time.
Metadata
Metadata
Assignees
Labels
No labels