Plot of log(time/ms) vs. log(#digits) for primes between 30 and 1000 digits. Yes log(#digits) = log_e(log_10(N)), but as only the gradient matters, the mixed mod doesn't. At 1000 digits, the gradient is <4.