Type Alias: Result
Result:
object
A measurement result.
Type declaration
average
average:
number
The average duration.
benchmarkName?
optionalbenchmarkName:string
The name of the benchmark that produced this result.
failed?
optionalfailed:boolean
Whether any run of the benchmark failed.
failureRate?
optionalfailureRate:number
The rate of failure, if any.
git?
optionalgit:GitInfo
Git information about the repository state when this result was produced.
iterations?
optionaliterations:number
The number of iterations that were run.
label
label:
string
The label of the result. Typically the name of the benchmark or variation.
max
max:
number
The maximum duration.
min
min:
number
The minimum duration.
p95
p95:
number
The 95th percentile duration.
raw
raw: (
number|Error)[]
The raw durations, in order. Used for custom reporters.
subresults?
optionalsubresults:Result[]
Subresults, if any. Typically sourced from performance observer.
totalDuration?
optionaltotalDuration:number
The total wall-clock duration for all iterations in milliseconds.
variationName?
optionalvariationName:string
The name of the variation that produced this result.