So I wonder if the shared memory will be disabled again as it may allow to monitor frequency changes.
So I wonder if the shared memory will be disabled again as it may allow to monitor frequency changes.
From MDN.
"It's important to keep in mind that to mitigate potential security threats such as Spectre, browsers typically round the returned value by some amount in order to be less predictable. This inherently introduces a degree of inaccuracy by limiting the resolution or precision of the timer. For example, Firefox rounds the returned time to 1 millisecond increments."
I suppose this does mitigate the risk a little, but risks breaking other things. For example, you don't have the simple logic sequence: a < b => round(a) < round(b)
So I'd say "not worth it"
iff |a| < |b| then round(|a|) < = round(|b|)
If you repeat the operation 100 times and time how long that takes, you should either get 3000 or 3100 milliseconds.