Re: [compute-pressure] Is PressureRecord.time a timestamp or a time that is relative to timeOrigin? (#257)

@Elchi3, you are correct, the implementation is relative to the Unix Epoch (January 1, 1970, UTC).

The question is now, what would make more sense?
To use Unix Epoch, or another monotonic clock implementation.

I don't think that 2)  as defined in performance.timeOrigin, makes sense for Compute Pressure, since it would be useful to have the same origin for workers and window, without manipulation of the timestamp.

@Elchi3, if I understood, your concern is more about the wording of the specification.
If we keep the Unix Epoch timestamp, what changes would the spec require?


-- 
GitHub Notification of comment by arskama
Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/257#issuecomment-2032273579 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 2 April 2024 14:54:46 UTC