Ok.
So Hyperz and i were discussing the finer points of multi-threading, asynchronous threads and all that story.
We decided to carry out a friendly "code-off" and see who could come up with the fastest solution based on how you concluded the best way to go about doing such a thing:
The task is simple: Perform a series of (pre-decided) http requests and time the request responses. The fastest code wins. Simple. We are also using a HTTP time-out of 5000 milliseconds, to avoid dead/slow servers from hampering the results.
URL LIST: http://www.coding.extremecoderz.com/urls.txt
Let the battle commence! In a FRIENDLY way! Please DO NOT flame if you get pwnt, this is in the interest of fun and learning.
Please Also Note: We are using a console application, not a windows Forms Application.
So Hyperz and i were discussing the finer points of multi-threading, asynchronous threads and all that story.
We decided to carry out a friendly "code-off" and see who could come up with the fastest solution based on how you concluded the best way to go about doing such a thing:
The task is simple: Perform a series of (pre-decided) http requests and time the request responses. The fastest code wins. Simple. We are also using a HTTP time-out of 5000 milliseconds, to avoid dead/slow servers from hampering the results.
URL LIST: http://www.coding.extremecoderz.com/urls.txt
Let the battle commence! In a FRIENDLY way! Please DO NOT flame if you get pwnt, this is in the interest of fun and learning.
Please Also Note: We are using a console application, not a windows Forms Application.