benchmarks/primes/README.md
2021-06-06 21:23:40 +02:00

15 lines
No EOL
448 B
Markdown

# 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 |