Implement Sieve of Eratosthenes in different language for performance testing
Here is the graphical demo
TBD
Standard Deviation (SD) is widely used as performance benchmark.
Here is the formula
| Language | Number of Elements | Time(ms) | Remarks |
|---|---|---|---|
| C# | 100M | 4862 | .Net Core on Mac |
| JS | 100M | 900 | node4 |
| JS | 100M | 700 | node7 |
| NodeAddOn | 100M | 13000 | NodeV7 + Nan + C++, not optimized |
| Python2 | 100M | 19245 | |
| Python3 | 100M | 22985 | |
| Cython | 100M | 1349 | Not optimized |
| Cython | 100M | 220 | Optimzed |
| GoLang | 100M | 3500 | |
| Java 1.8 | 100M | 250 |
