hardwareConcurrency
Widely available
The navigator.hardwareConcurrency
read-only property returns the number of logical processors available to run threads on the user's computer.
To learn more, see
Navigator: hardwareConcurrency property,
WorkerNavigator: hardwareConcurrency property at MDN.
Compatibility (view on caniuse.com)
- Chrome 37 Released on 2014-08-26
- Chrome Android 37 Released on 2014-09-03
- Edge 15 Released on 2017-04-05
- Firefox 48 Released on 2016-08-02
- Firefox for Android 48 Released on 2016-08-02
- Safari 15.4 Released on 2022-03-14
- Safari on iOS 15.4 Released on 2022-03-14
Specifications
- HTML Standard (#navigator.hardwareconcurrency), from HTML Workstream (WHATWG).