benchmarks/primes
2021-06-06 21:23:40 +02:00
..
java/src java primes 2021-06-06 20:07:12 +02:00
javascript never underestimate a jit 2021-06-06 21:08:22 +02:00
python lmao python 2021-06-06 21:23:40 +02:00
rust never underestimate a jit 2021-06-06 21:08:22 +02:00
README.md lmao python 2021-06-06 21:23:40 +02:00

Primes

Find all primes from 0 to 10 000 000.
Printing time is not included.

There are probably some issues in the code since this result seems a bit questionable
Although I can understand that JS is extremly fast, this is the perfect benchmark for JS, and we should never forget that V8 is... fast.

Language Time
Java 1836ms
Javascript 1778ms
Rust 1818ms
python3 34361ms