the benchmark task result object

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

Hierarchy (view full)

Properties

critical: number

critical value of the samples

df: number

degrees of freedom

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

name: string
p75: number

p75 percentile

p99: number

p99 percentile

p995: number

p995 percentile

p999: number

p999 percentile

period: number

how long each operation takes (ms)

rank: number
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