Performance benchmarking Python3.4 Coroutines & Golang 1.2.2's goroutines - nrshrivatsan/concurrent-n-parallel GitHub Wiki
###Problem
There are 208 web URLs. Write code to get the content length of each of the URLs.
###Constrains
- Use libraries/modules which are native implementations in the language
- Find the language with least CPU,Memory & Threading footprint
###Inference
Before the inference is shared, I would have to state that my understanding of both the languages is relatively less. Hence the comparison might not be apples to apples!
From screen cases below, one could infer:
- Go makes magnitude lesser number of system calls & context switches
- Python 3.4 coroutines not so bad
###ScreenCasts
- Python 3.4 Coroutine Performance
- Go 1.2.2 Goroutine Performance
- JRE 1.7 Java Executor Framework performance
###Screenshots