Instrument

Clocks

October 1, 2020

We can distinguish two types of clocks – explicit and implicit. Explicit clocks are used by developers to get direct timing measurements, mechanisms of this type are offered explicitly by the browser. In contrast, implicit clocks utilize particular web features to create unintended clocks that allow measuring the relative passage of time. Explicit Clocks # performance.now API # The performance.now() API allows developers to get high-resolution timing measurements. info In order to mitigate some types of XS-Leaks, performance. ...