iggs-utils - v2.4.0
    Preparing search index...

    Function benchmarkFn

    • Parameters

      • fn: Function
      • iterations: number = 1

      Returns { max: number; mean: number; min: number }

      an object with min, max and mean time execution, in millis.

      A simple utility that benchmarks a function execution,