w3c / compute-pressure

A web API proposal that provides information about available compute capacity
https://www.w3.org/TR/compute-pressure/
Other
69 stars 10 forks source link

Associate sample interval with source #263

Closed kenchris closed 5 months ago

kenchris commented 6 months ago

Sample interval should be per source, and updated when observe() is called with the same source again.

This is consistent with what PerformanceObserver does


Preview | Diff

arskama commented 5 months ago

This is just an internal change? doesn't modify yet the way the user enter the source in observe method? right?

arskama commented 5 months ago

LGTM