mirror of
https://github.com/Noratrieb/benchmarks.git
synced 2026-01-14 10:45:04 +01:00
| .. | ||
| java/src | ||
| javascript | ||
| python | ||
| rust | ||
| README.md | ||
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 | 577ms |
| python3 | 34361ms |