Compute Pressure
Reports how stressed the CPU is (nominal, fair, serious, critical).
Coarse load level; shows if the device is struggling. Can leak what else is running.
What it can and can't do
What the user does: Nothing. It happens when a heavy app or call is open, if the site is allowed.
It can
- Learn if your chip is in one of four states: nominal, fair, serious or critical
- Slow a video call or game when the device is hot
- Check while the page is open and in front
It cannot
- See exact usage numbers or temperatures
- See what other apps are doing
- Work in Firefox, Safari or on iPhone
- Keep checking after you close the page
How it differs between platforms: Only desktop Chrome and Edge support it. Firefox, Safari and Android browsers do not.
Browser support
How a site asks for it
| API | new PressureObserver(cb).observe('cpu',{sampleInterval:1000}) |
| Permissions policy | compute-pressure |
| Browser compat keys | api.PressureObserver |
| How access is granted | none |
| What the user sees | None (permission policy gated) |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | No |
| How long it lasts | Per origin |
| How to take it back | Site settings |
| Inside an iframe | Same as top level; cross-origin iframes need a permissions policy where listed |
Typical flow
- Call the API
- Browser applies its access rules
- Page receives the result
Data you get
What comes back: Reports how stressed the CPU is (nominal, fair, serious, critical).
Shape: object
How often: on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
state | enum | None | nominal, fair, serious, critical | Not listed |
source | enum | None | cpu | Not listed |
sampleInterval | integer | ms | minimum 1000 in Chrome | Not listed |
Technical limits
- Four coarse states only
- Page must be visible
- No Android, no Firefox, no Safari
The story
What it is
A page can learn how busy your computer's processor is.
For you
You never see it. A video call or a game may lower effects when your computer is busy, so it keeps running smoothly.
For makers
Makers use it to adapt: drop video quality, turn off background blur, lower graphics. It also gives them a hint about how powerful and loaded your device is.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | A call app turns off background blur when your processor is overheated. | Google Meet, Zoom web |
| games | A browser game lowers its effects when the computer is under heavy load. | None named |
| creative | A web editor lowers preview quality when you export in the background. | None named |
| live | A streaming tool drops resolution before your stream stutters. | Twitch |
| security | A fraud tool reads load changes as another hint that a device is real. | None named |
| ads | An ad system picks lighter ads on a device that is struggling. | None named |
Risks
- Device hints
- Side channel risks
What the platform says
- Google: Compute Pressure API. Chrome's docs describe it as a way to see CPU load in simple levels so apps can adapt.
Good uses and abuse
Legitimate uses
- Video calls throttling quality
Known abuse
- Side channel for cross-tab load
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 0.5 | Rough identifying entropy, when known |
History
- 2024-04, Chrome 125: Compute Pressure ships on desktop
Sources
How well checked: Checked against real behavior.