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