tinybench - v6.0.1
    Preparing search index...

    Variable nowConst

    now: () => number = ...

    Returns the current timestamp in milliseconds using performance.now().

    Type Declaration

      • (): number
      • The performance.now() method returns a high resolution timestamp in milliseconds. It represents the time elapsed since Performance.timeOrigin (the time when navigation has started in window contexts, or the time when the worker is run in Worker and ServiceWorker contexts).

        MDN Reference

        Returns number

    the current timestamp in milliseconds