3 ms·
aren't other processes on your machine going to effect these scores?
by wigster 12y ago
aren't other processes on your machine going to effect these scores?
- szatkus 12y agoNo, JS is executed in single thread. If you have at least two cores and don't have running antivirus full scan or searching for prime numbers, background processes shouldn't affect the score.
- wigster 12y agook - ta.
- bzbarsky 12y agoJS is executed in a single thread, but optimized JIT compilation happens on background threads. So if you don't have free cores in addition to the one the JS is running on you'll end up running in interpreter or baseline JIT for longer before the optimized code is available. Whether that affects scores depends on how the benchmark is scored and how long the lag is before the optimized code becomes available, and so forth.