TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface BenchPorts

    Supplies the benchmark commands with corpus access, the measured implementation, resource grants, a clock and output streams.

    interface BenchPorts {
        repository: string;
        implementationHash: string;
        implementationBytes: Uint8Array;
        clock: Clock;
        funding: Readonly<Record<BenchPhase, Limits>>;
        download: (url: string) => Promise<Uint8Array<ArrayBufferLike>>;
        loadCorpus: () => Promise<
            Result<CorpusTables, readonly (FetchIssue | ZenodoTableIssue)[]>,
        >;
        environment: () => Promise<RunEnvironment>;
        stdout: (text: string) => void;
        stderr: (text: string) => void;
    }
    Index
    repository: string
    implementationHash: string
    implementationBytes: Uint8Array
    clock: Clock
    funding: Readonly<Record<BenchPhase, Limits>>
    download: (url: string) => Promise<Uint8Array<ArrayBufferLike>>
    loadCorpus: () => Promise<
        Result<CorpusTables, readonly (FetchIssue | ZenodoTableIssue)[]>,
    >
    environment: () => Promise<RunEnvironment>
    stdout: (text: string) => void
    stderr: (text: string) => void