Skip to content

About

Implement Sieve of Eratosthenes and SD in different language for performance testing

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sieve-of-Eratosthenes

Implement Sieve of Eratosthenes in different language for performance testing

Sieve of Eratosthenes in Wiki

Here is the graphical demo

Sieve of Eratosthenes

Result of Sieve of Eratosthenes

TBD

Standard Deviation

Standard Deviation (SD) is widely used as performance benchmark.

Here is the formula

Standard Deviation

Result of Standard Deviation

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

About

Implement Sieve of Eratosthenes and SD in different language for performance testing

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages