mirror of
https://github.com/Noratrieb/benchmarks.git
synced 2026-01-14 18:55:02 +01:00
448 B
448 B
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 |