Interface TestLifecycleHandlers

Hierarchy

Methods

  • Triggered when an error occurred during the measured callback invocation.

    Parameters

    • error: any

      The error that was thrown.

    Returns void

  • Triggered after each iteration with the elapsed percentage of the measurement duration.

    Parameters

    • percent: number

      The elapsed percentage of the measurement duration.

    Returns void

  • Triggered when the test block is completed. Not invoked if an error occurred in test lifecycle.

    Parameters

    • durationHistogram: Histogram

      Tested callback performance statistics across all measurements.

    • memoryHistogram: Histogram

    Returns void

  • Triggered before test block is run.

    Returns void

Generated using TypeDoc