tinybench - v6.1.2
    Preparing search index...

    Function hrtimeNow

    • Returns the current timestamp in milliseconds using process.hrtime.bigint().

      Narrows the absolute nanosecond value to a number, which loses precision once it exceeds Number.MAX_SAFE_INTEGER (~104 days of uptime). For benchmarking prefer hrtimeNowTimestampProvider, which keeps the bigint until after the delta is taken.

      Returns number

      the current timestamp in milliseconds