Rust found 41538 primes up to 500000 in 0.077 seconds. Total call time from PHP: 0.080381155014038 seconds