@kayahr/benchmark
    Preparing search index...

    Interface TestInit<T>

    Initialization options of a benchmark test operation.

    interface TestInit<T = unknown> {
        name: string;
        operation: TestOperation<T>;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    Properties

    name: string

    The test name displayed in the benchmark results.

    operation: TestOperation<T>

    The test operation function to continuously run.