Skip to content

Difference from navigator.hardwareConcurrency #22

Open

Description

@bershanskiy

CPU Performance API is conceptually very similar to Hardware Concurrency API. The CPU Performance API specification defines the algorithm Computing Performance Tier Value in terms of "physical or logical" CPU cores, but in practice it appears that all implementations report the number of "logical" cores. Hardware Concurrency API explicitly states that it reports the number of "logical" CPU cores. Granted, the two APIs report different numbers, but it would be interesting to read a comparison between these APIs, since this topic is not covered by the explainer, to the best of my knowledge.

Previously, #1 discussed the correlation between CPU Performance API and CPU Performance API, with the conclusion being that the correlation between the number of CPU cores and number of GBs of RAM is very weak. Explainer even explicitly mentions Device Memory API as a source of inspiration for this API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions