@kayahr/benchmark
    Preparing search index...

    Interface TestRunnerOptions

    Benchmark test runner options.

    interface TestRunnerOptions {
        init?: null | (() => void);
        runs?: number;
        showAverage?: boolean;
    }
    Index

    Properties

    init?: null | (() => void)

    Function called before each test iteration. Can be used to init/reset static test data.

    runs?: number

    The number of times to run the benchmark tests. Runs indefinitely if not specified

    showAverage?: boolean

    Show average speed by default.