Hacker News new | ask | show | jobs
by ah- 4775 days ago
Well, it said 9 cores on my laptop with 2 (plus hyperthreading, so 4).

But why even try to estimate the number of cores? Just call it a benchmark that tries to find the number of threads you should run.

1 comments

On some machines it is likely that the result you get the second time will be different from the first.

And you're right, we designed the script to find the optimum number of web workers to use in parallel, that's what it's primary purpose is. But we also want to drive adoption of navigator.cores so we decided to call it a core estimator.