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

Bikeshed the source name for per-process #267

Open kenchris opened 6 months ago

kenchris commented 6 months ago

The per-process support will be exposed as a new source type, but it's a bit hard finding a good name :-)

Some current ideas:

"self" is probably not so descriptive, as as processes are often shared across multiple instances of the same site/origin, something like "same-origin" or "same-site" might make more sense. Cookies seem to use the "same site" nomenclature.

@Elchi3 maybe you have some ideas given your work on MDN.

Elchi3 commented 6 months ago

I have no concrete naming proposal but I think it would help to understand the scopes here. Would the following documentation be correct? ("cpu-thread" is my invention for illustration).

kenchris commented 6 months ago

I am a bit worried about the word thread as it is not really used in specs (to my knowledge) and APIs, though users talk about main thread. I guess it would be the JavaScript realm/context