Compute Pressure API
Reports the device CPU load as nominal, fair, serious or critical.
In one line
Can see how busy your device's processor is, in four coarse levels
Reports the device CPU load as nominal, fair, serious or critical.
A PressureObserver reports coarse CPU state and thermal throttling (four levels), limited to secure contexts and top level or permission policy frames. Replaces CPU benchmarking for adaptive apps, but exposes load state.
What it can and can't do
What the user does: Nothing. It happens when the page asks, on a secure page
It can
- Learn if CPU load is nominal, fair, serious or critical
- Learn when the device slows down from heat
- Lower its own work when your device is stressed
It cannot
- See which apps are running
- See exact CPU numbers
- Work in Firefox or Safari
- Work inside embedded frames unless allowed
How it differs between platforms: Works in Chrome, Edge and Samsung Internet. Firefox and Safari do not support it.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 125 | 2024-05-14 | None |
| Edge | Supported | 125 | 2024-05-17 | None |
| Firefox | Not supported | Not available | Not listed | None |
| Safari | Not supported | Not available | Not listed | None |
| Safari on iPhone | Not supported | Not available | Not listed | None |
| Chrome on Android | Supported | 125 | 2024-05-14 | BCD lists no support; agent research says otherwise |
| Samsung Internet | Supported | 27.0 | 2024-11-06 | BCD lists no support; agent research says otherwise |
How a site asks for it
| API | new PressureObserver(cb).observe('cpu',{sampleInterval}) |
| Browser compat keys | api.PressureObserver |
| How access is granted | none |
| What the user sees | Not listed |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Create PressureObserver
- Observe cpu
- Receive state changes at 1 Hz at most
Data you get
What comes back: state: nominal, fair, serious, critical
Shape: event
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
state | string | None | nominal, fair, serious, critical | 4 levels |
Technical limits
- Only when the page is visible and focused (or permitted)
- Rate limited and levels deliberately coarse
The story
What it is
A page learns how busy your processor is, shown as nominal, fair, serious or critical.
For you
You will not see a prompt. A video call or game may quietly turn off a fancy effect when your computer is overloaded, so the sound and picture stay smooth.
For makers
Real time apps need to know when the processor is struggling. They can then reduce quality before the app lags. The same level is a small hint about your device load.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | A video call turns off background blur and drops video size when the laptop gets hot and busy. | Google Meet, Zoom web client |
| games | A browser game lowers physics detail and effects when the processor is under heavy load. | None named |
| games | A cloud gaming page like Xbox Cloud Gaming lowers decoding work when the device gets too hot. | Xbox Cloud Gaming, GeForce NOW |
| live | A live streaming studio in the browser lowers encode quality when the processor hits critical. | Restream, StreamYard |
| creative | A web video editor pauses previews or lowers detail when the computer is struggling. | Clipchamp |
| music | A browser music studio lowers the number of live effects when the processor is overloaded to avoid crackles. | Soundtrap |
| security | A fraud tool may use odd load patterns as a signal for a server farm of fake browsers. | None named |
Risks
- Reveals what else you run
- Only in Chromium
What the platform says
- Google Chrome: Compute Pressure API. Chrome says it helps video calls and games adapt when the device is too busy, before things lag.
Good uses and abuse
Legitimate uses
- Video conferencing quality adaptation
Known abuse
- Load side channel and device inference
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 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 | 2 | Rough identifying entropy, when known |
History
- 2024-05, Chrome 125: Compute Pressure ships (CPU only)
Related capabilities
Related
- CPU benchmarking and device class. Can run a short speed test to guess how fast your device is
Sources
How well checked: Based on official documentation.