Skip to Content
Platform.Ontology

Compute Pressure

Reports how busy the device CPU is in four coarse levels.

Asks you firstDevice detailsPerformanceWeb browsersWhile you use it

In one line

Can tell roughly how busy your device is, only while the page is in view

Reports how busy the device CPU is in four coarse levels.

Gives nominal, fair, serious, critical CPU pressure states. Lets video-call sites adapt, but also leaks activity on the machine.

What it can and can't do

What the user does: Nothing. A video call or heavy page may start it while you use the tab

It can

  • Check four coarse busy levels: nominal, fair, serious, critical
  • Slow down video or effects when your device is struggling
  • Get updates about once a second while the tab is visible

It cannot

  • Measure exact heat, fan speed, or power use
  • Run in Firefox, Safari, or on iPhone
  • Keep checking when the tab is hidden or out of focus
  • Run if the site or its iframe is blocked by Permissions Policy

How it differs between platforms: Works in Chrome and Edge only. Firefox and Safari do not offer it.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported1252024-05-14None
EdgeSupported1252024-05-17None
FirefoxNot supportedNot availableNot listedNone
SafariNot supportedNot availableNot listedNone
Safari on iPhoneNot supportedNot availableNot listedNone
Chrome on AndroidNot supportedNot availableNot listedNone
Samsung InternetNot supportedNot availableNot listedNone

How a site asks for it

APInew PressureObserver(callback).observe('cpu', {sampleInterval}); permission compute-pressure
Permission namecompute-pressure
Permissions policycompute-pressure
Browser compat keysapi.PressureObserver
How access is grantednone
What the user seesNo prompt in current Chrome; blocked by Permissions Policy and requires a focused, visible page.
Needs a secure context (HTTPS)Yes
Needs a user gestureNo
How long it lastsWhile observing
How to take it backDisconnect observer
Inside an iframeNeeds allow="compute-pressure"

Typical flow

  1. Create PressureObserver
  2. observe('cpu')
  3. Receive PressureRecord updates

Data you get

What comes back: PressureRecord with state
Shape: event
How often: at sampleInterval (min 1000 ms)

FieldTypeUnitRangePrecision
stateenumnonenominal, fair, serious, critical2 bits

Technical limits

  • Chromium desktop only
  • Only coarse buckets

The story

What it is

Tells a page how busy your computer's processor is, as nominal, fair, serious or critical.

For you

You never see it. On a good day your video call just stays smooth because the app quietly turned down the fancy background blur when your laptop got hot. On a bad day, others on the call may notice lower quality.

For makers

Heavy web apps want to use all the power they can without freezing the machine. Compute Pressure gives them an early warning so they can drop quality, not crash. It also tells them when a machine is busy with other work.

Where you see it

TypeExampleApps
videoA video call app turns off background blur and lowers resolution when the processor says serious, so the call does not stutter.Google Meet, Zoom
gamesA WebGL game lowers shadows and crowd size when pressure hits critical, so frame rate stays steady on a laptop.None named
gamesA cloud gaming page keeps the video decoder healthy by pausing extra overlays while the processor is overloaded.Xbox Cloud Gaming, GeForce NOW
creativeA browser design tool such as Figma lowers live preview quality while you drag a huge file so the cursor stays smooth.Figma
liveA browser-based streaming studio switches to a lighter video encode when the CPU is stressed, to avoid dropped frames.None named
productivityAn online video editor uses fewer background threads for thumbnails while you are exporting a clip.Clipchamp
securityA tracking script might read pressure to guess whether you are running other heavy tasks.None named

Risks

  • Leaks what else your machine is doing
  • Rarely seen, so people are unaware

What the platform says

Good uses and abuse

Legitimate uses

  • Video calls
  • Games

Known abuse

  • Side channel about local activity

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits2Rough identifying entropy, when known

History

  • 2024-05, Chrome 125: Compute Pressure API ships

Sources

How well checked: Based on official documentation.

On this page