OINO TS
    Preparing search index...

    Class OINOMemoryBenchmark

    OINOMemoryBenchmark is a memory-based benchmark implementation. It stores the benchmark data in memory and allows to reset, start, end and get benchmark data. In case of recursively/iteratively starting a benchmark, it will honor the first start and ignore the rest. *

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Complete benchmark timing

      Parameters

      • module: string

        of the benchmark

      • method: string

        of the benchmark

      • category: string = "OK"

        optional subcategory of the benchmark

      Returns void

    • Track an exception

      Parameters

      • module: string

        of the benchmark

      • method: string

        of the benchmark

      • category: string

        optional subcategory of the benchmark

      • name: string

        of the exception

      • message: string

        of the exception

      • stack: string

        trace of the exception

      Returns void

    • Track a metric value

      Parameters

      • module: string

        of the metric

      • method: string

        of the metric

      • category: string

        optional subcategory of the metric

      • value: number

        of the metric

      Returns void