Class OINOBenchmark

Static class for benchmarking functions.

Constructors

Methods

Constructors

Methods

  • Complete benchmark timing

    Parameters

    • name: string

      of the benchmark

    Returns number

  • Reset benchmark data (but not what is enabled).

    Returns void

  • Set benchmark names that are enabled.

    Parameters

    • names: string[]

      array of those benchmarks that are enabled

    Returns void

  • Start benchmark timing.

    Parameters

    • name: string

      of the benchmark

    Returns void