The NavigatorConcurrentHardware mixin adds to the web.performance.Navigator
features which allow Web content to determine how many logical
the user has available, in order to let content and Web apps
their operations to best take advantage of the user's CPU.
The NavigatorConcurrentHardware mixin adds to the `web.performance.Navigator` features which allow Web content to determine how many logical the user has available, in order to let content and Web apps their operations to best take advantage of the user's CPU.
(hardware-concurrency this)
Property.
[Read Only]
The navigator.hardwareConcurrency read-only property returns number of logical processors available to run threads on the computer.
logicalProcessors = window.navigator.hardwareConcurrency
See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency
Property. [Read Only] The navigator.hardwareConcurrency read-only property returns number of logical processors available to run threads on the computer. `logicalProcessors = window.navigator.hardwareConcurrency` See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close