Skip to main content

touchstone.caseresult

Home > @pebula/touchstone > CaseResult

CaseResult interface

Signature:

export interface CaseResult 

Properties

Property

Modifiers

Type

Description

benchmarkOptions

BenchmarkOptions

The benchmark options used to run this case.

hz

number

The number of executions per second. (Operations Per Second) https://benchmarkjs.com/docs\#prototype\_hz

hzDeviation

number

hzSamples

number[]

name

string

stats

CaseStats

An object of stats including mean, margin or error, and standard deviation.

timing

Times

An object of timing data including cycle, elapsed, period, start, and stop. https://benchmarkjs.com/docs\#prototype\_times

variantParent?

string

(Optional) Indicates (when truthy) if the current case is a variant case. If truthy, the actual value represents the name of the root case which it is a variant of.