tinybench - v6.2.4
    Preparing search index...

    Interface TaskResultAbortedWithStatistics

    The task result for aborted tasks, having also statistical data.

    interface TaskResultAbortedWithStatistics {
        latency: Statistics;
        period: number;
        state: "aborted-with-statistics";
        throughput: Statistics;
        totalTime: number;
    }

    Hierarchy (View Summary)

    Index
    latency: Statistics

    Statistics of final latency samples in milliseconds.

    period: number

    Mean final latency in milliseconds: totalTime / runs.

    state: "aborted-with-statistics"

    the task state

    throughput: Statistics

    Throughput statistics in operations per second. Each nonzero final latency sample is transformed independently (1000 / sample) before statistics are computed, so these describe instantaneous rates: the throughput mean is the mean of those rates, generally not the reciprocal of TaskResultWithStatistics.latency's mean. Samples measuring as zero are imputed as 1000 / latency.mean (0 when the mean is zero) rather than transformed to an infinite rate; imputed rates count toward these statistics.

    totalTime: number

    Sum of final latency samples in milliseconds, after overrides and overhead correction; not elapsed wall time or the consumed iteration-cost budget.