BenchTaskResult: {
    critical: number;
    df: number;
    error?: unknown;
    hz: number;
    max: number;
    mean: number;
    min: number;
    moe: number;
    p75: number;
    p99: number;
    p995: number;
    p999: number;
    period: number;
    rme: number;
    samples: number[];
    sd: number;
    sem: number;
    totalTime: number;
    variance: number;
}

the benchmark task result object

Type declaration

  • critical: number

    critical value of the samples

  • df: number

    degrees of freedom

  • Optional error?: unknown
  • hz: number

    the number of operations per second

  • max: number

    the maximum value in the samples

  • mean: number

    samples mean/average (estimate of the population mean)

  • min: number

    the minimum value in the samples

  • moe: number

    margin of error

  • p75: number

    p75 percentile

  • p99: number

    p99 percentile

  • p995: number

    p995 percentile

  • p999: number

    p999 percentile

  • period: number

    how long each operation takes (ms)

  • rme: number

    relative margin of error

  • samples: number[]

    task samples of each task iteration time (ms)

  • sd: number

    samples standard deviation (estimate of the population standard deviation)

  • sem: number

    standard error of the mean (a.k.a. the standard deviation of the sampling distribution of the sample mean)

  • totalTime: number

    The amount of time in milliseconds to run the benchmark task (cycle).

  • variance: number

    samples variance (estimate of the population variance)

Generated using TypeDoc